From ed1ef6127c26b047bcd783f0bf06d1ac308877b0 Mon Sep 17 00:00:00 2001 From: Ruben Nijveld Date: Tue, 14 May 2024 16:08:09 +0200 Subject: [PATCH] Build for arm64 as well --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c34acd1..5b5db15 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - name: Create version tag id: version - run: echo "tag=$(git show -s --format="%ct-%h" $GITHUB_SHA)" >> $GITHUB_OUTPUT + run: echo "tag=$(git show -s --format="%ct-%h" $GITHUB_SHA)" >> $GITHUB_OUTPUT - name: Log in to the container registry uses: docker/login-action@v3 @@ -37,6 +37,7 @@ jobs: with: pull: true push: true + platforms: linux/amd64,linux/arm64 tags: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.tag }}