aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHazel Atkinson <yellowsink@riseup.net>2025-04-09 18:41:02 +0100
committerHazel Atkinson <yellowsink@riseup.net>2025-04-09 18:41:02 +0100
commitbf0bb179554aedf61aa0212fe2b5c489e4d5da05 (patch)
treea035a93bd3c5c1efbebc29bc842767002ff976a7
parentb21248a1cc78a23d144e8781d5bc7388daf90f27 (diff)
downloadcontainerspy-bf0bb179554aedf61aa0212fe2b5c489e4d5da05.tar.gz
containerspy-bf0bb179554aedf61aa0212fe2b5c489e4d5da05.tar.bz2
containerspy-bf0bb179554aedf61aa0212fe2b5c489e4d5da05.zip
use multiple workers for multi-platform builds, not qemu
-rw-r--r--.github/workflows/publish.yml7
1 files changed, 6 insertions, 1 deletions
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