From 844dc2521d13b1f35f5b5f264311a8b13f625671 Mon Sep 17 00:00:00 2001 From: Hazel Atkinson <19270622+yellowsink@users.noreply.github.com> Date: Fri, 11 Apr 2025 20:17:54 +0100 Subject: ci: github don't include docker with macos, wonderful --- .github/workflows/publish.yml | 5 ++--- 1 file 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 -- cgit