diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index b9d5929b2..d8cbae8e6 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -45,7 +45,11 @@ jobs: with: cosign-release: 'v1.9.0' - + # Setup QEMU + # https://github.com/marketplace/actions/docker-setup-buildx#with-qemu + - name: Setup QEMU + uses: docker/setup-qemu-action@v2.0.0 + # Workaround: https://github.com/docker/build-push-action/issues/461 - name: Setup Docker buildx uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf @@ -78,6 +82,9 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + # https://github.com/docker/setup-qemu-action#about + # platforms: linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6 + platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7 # Sign the resulting Docker image digest except on PRs. # This will only write to the public Rekor transparency log when the Docker