From 7ccb17392e88512b6242d7a1e952023fc56099ee Mon Sep 17 00:00:00 2001 From: Jonathan Drolet Date: Thu, 4 Mar 2021 10:30:18 -0500 Subject: [PATCH] Added multi-arch docker image for Github actions --- .github/workflows/pull_request.yaml | 1 + .github/workflows/push.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 425eed58..89a62da0 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -98,6 +98,7 @@ jobs: push: true build-args: BUILD_PARAMETERS=${{ env.BUILD_PARAMETERS }} cache-to: type=inline + platforms: linux/amd64,linux/arm,linux/arm64 tags: | ${{ env.IMAGE_REPOSITORY }}:${{ steps.generate_tag.outputs.GIT_TAG }} labels: | diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 64a3334d..c69e5df1 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -99,6 +99,7 @@ jobs: push: true build-args: BUILD_PARAMETERS=${{ env.BUILD_PARAMETERS }} cache-to: type=inline + platforms: linux/amd64,linux/arm,linux/arm64 tags: | ${{ env.IMAGE_REPOSITORY }}:${{ steps.generate_tag.outputs.new_tag }} labels: |