Skip to content

🐳 Docker

🐳 Docker #150

Workflow file for this run

name: 🐳 Docker
on:
schedule:
- cron: '0 */12 * * *'
jobs:
build-docker:
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
steps:
- name: Checkout Repository
uses: actions/checkout@v3
# https://github.com/docker/setup-qemu-action
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
# https://github.com/docker/setup-buildx-action
- name: Setup Buildx
uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: "--debug"
- name: Docker Build
uses: docker/build-push-action@v4
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