diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index e7e993f..291db07 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -26,6 +26,8 @@ jobs: steps: - name: check out the repo uses: actions/checkout@v3 + - name: set up QEMU + uses: docker/setup-qemu-action@v3 - name: configure Docker to use buildx uses: docker/setup-buildx-action@v2 - name: log in to Docker Hub @@ -38,6 +40,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: | derhuerst/db-rest:6 derhuerst/db-rest:latest @@ -63,6 +66,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: ghcr.io/${{github.repository}}:v6_${{steps.hash.outputs.hash}}_${{steps.datetime.outputs.datetime}} # https://docs.docker.com/build/ci/github-actions/examples/#github-cache cache-from: type=gha