diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 416b62e..6f3a5ee 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -25,6 +25,10 @@ jobs: steps: - name: check out the repo uses: actions/checkout@v2 + - name: set up QEMU + uses: docker/setup-qemu-action@v3 + - name: configure Docker to use buildx + uses: docker/setup-buildx-action@v3 - name: log in to Docker Hub uses: docker/login-action@v1 with: @@ -34,6 +38,7 @@ jobs: uses: docker/build-push-action@v2 with: push: true + platforms: linux/amd64,linux/arm64 tags: | derhuerst/vbb-rest:5 derhuerst/vbb-rest:latest @@ -55,4 +60,5 @@ jobs: uses: docker/build-push-action@v2 with: push: true + platforms: linux/amd64,linux/arm64 tags: ghcr.io/${{github.repository}}:v5_${{steps.hash.outputs.hash}}_${{steps.datetime.outputs.datetime}}