From f6eb74b8ebf0a80e9d25f5bb44f3e17a4572398a Mon Sep 17 00:00:00 2001 From: Rene Teigen Date: Tue, 7 Mar 2023 21:41:10 +0000 Subject: [PATCH] Add arm64 to pr build --- .github/workflows/build-and-publish-docker.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish-docker.yml b/.github/workflows/build-and-publish-docker.yml index 4110b4b..9b7caff 100644 --- a/.github/workflows/build-and-publish-docker.yml +++ b/.github/workflows/build-and-publish-docker.yml @@ -218,9 +218,17 @@ jobs: # with sigstore/fulcio when running outside of PRs. id-token: write steps: + - name: Set Swap Space + uses: pierotofy/set-swap-space@v1.0 + with: + swap-size-gb: 10 + - name: Checkout repository uses: actions/checkout@v3 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - name: Setup Docker buildx uses: docker/setup-buildx-action@v2 @@ -242,7 +250,7 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 - name: Build and push full Docker image id: build-and-push-full @@ -255,4 +263,4 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max - platforms: linux/amd64 \ No newline at end of file + platforms: linux/amd64,linux/arm64 \ No newline at end of file