Skip to content

🐳 Docker

🐳 Docker #370

Workflow file for this run

name: 🐳 Docker
on:
schedule:
- cron: '0 */4 * * *'
jobs:
build-docker:
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
steps:
- name: Checkout Repository
uses: actions/checkout@v4
# https://github.com/docker/setup-qemu-action
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
# https://github.com/docker/setup-buildx-action
- name: Setup Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: "--debug"
- name: Docker Build
uses: docker/build-push-action@v5
with:
cache-from: type=gha
cache-to: type=gha,mode=max
file: docker/Dockerfile
context: .
platforms: linux/amd64
push: false
tags: |
${{ github.repository_owner }}/homestar:latest