From bf0bb179554aedf61aa0212fe2b5c489e4d5da05 Mon Sep 17 00:00:00 2001 From: Hazel Atkinson Date: Wed, 9 Apr 2025 18:41:02 +0100 Subject: use multiple workers for multi-platform builds, not qemu --- .github/workflows/publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 493f31b..04a8742 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,8 +12,13 @@ jobs: publish: name: Publish Docker Image to ghcr.io runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + platform: [linux/amd64, linux/arm64] permissions: packages: write + steps: - name: Check out the repo uses: actions/checkout@v4 @@ -58,6 +63,6 @@ jobs: file: ./Dockerfile push: true tags: ${{ env.DOCKER_IMAGE_TAGS }} - platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.platform }} cache-from: type=gha cache-to: type=gha,mode=max \ No newline at end of file -- cgit