diff options
| author | Hazel Atkinson <19270622+yellowsink@users.noreply.github.com> | 2025-04-11 20:17:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-11 20:17:54 +0100 |
| commit | 844dc2521d13b1f35f5b5f264311a8b13f625671 (patch) | |
| tree | 76f815e6b21e682169d1c40ddd88e39143436f8a | |
| parent | 9245b4cfc8b9e5d50cfada87b8845ecf5b3e698a (diff) | |
| download | containerspy-844dc2521d13b1f35f5b5f264311a8b13f625671.tar.gz containerspy-844dc2521d13b1f35f5b5f264311a8b13f625671.tar.bz2 containerspy-844dc2521d13b1f35f5b5f264311a8b13f625671.zip | |
ci: github don't include docker with macos, wonderful
| -rw-r--r-- | .github/workflows/publish.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6b60394..a8ef757 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - runner: [ubuntu-latest, macos-latest] + runner: [ubuntu-24.04, ubuntu-24.04-arm] permissions: packages: write @@ -30,8 +30,7 @@ jobs: DOCKER_IMAGE_TAG_BASE="ghcr.io/${{ github.repository }}" DOCKER_IMAGE_TAGS="$DOCKER_IMAGE_TAG_BASE:dev" - # use ubuntu-latest to build x86 and macos-latest to build aarch64 - if [[ "${{ matrix.runner }}" == macos-latest ]]; then + if [[ "${{ matrix.runner }}" == *-arm ]]; then echo "DOCKER_PLATFORM=linux/arm64" >> $GITHUB_ENV else echo "DOCKER_PLATFORM=linux/amd64" >> $GITHUB_ENV |
