From 7a1874f3cde28d4a5a1a84a832f195d483dfd263 Mon Sep 17 00:00:00 2001 From: Andrew Paglusch Date: Mon, 12 Feb 2024 13:31:36 -0600 Subject: [PATCH] build for arm64v8 as well --- .github/workflows/docker_publish.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index f594308..7225c71 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -30,6 +30,13 @@ jobs: # This is used to complete the identity challenge # with sigstore/fulcio when running outside of PRs. id-token: write + strategy: + matrix: + include: + - dockerfile: Dockerfile + platform: linux/amd64 + - dockerfile: arm.Dockerfile + platform: linux/arm64/v8 steps: - name: Checkout repository @@ -69,8 +76,8 @@ jobs: uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 with: context: . - file: docker/Dockerfile + file: docker/${{ matrix.dockerfile }} push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - + platforms: ${{ matrix.platform }}