From 483be74fa19999ec247e9f3ed7dd4cdd5b0c5c47 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Wed, 31 Jul 2024 10:07:30 +0500 Subject: [PATCH] docker: enable multi-platform builds --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c4ca9e2..441cbde 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,11 +56,12 @@ jobs: context: . file: ${{ matrix.repos.file }} push: true + platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 tags: ${{ steps.meta.outputs.tags }} - name: Generate artifact attestation uses: actions/attest-build-provenance@v1 with: - subject-name: ${{ matrix.repos.image }} + subject-name: index.docker.io/${{ matrix.repos.image }} subject-digest: ${{ steps.push.outputs.digest }} push-to-registry: true