From e90772c241785c417144d9fceb76e75aaa96e06a Mon Sep 17 00:00:00 2001 From: madomado Date: Wed, 15 May 2024 20:47:11 +0800 Subject: [PATCH] fix(ci): build-docker on correct arch --- .github/workflows/build-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index d00012e..3afc22a 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -58,7 +58,7 @@ jobs: outputs: artifact: ${{ matrix.variant }} # ubuntu-latest unless we're building aarch64 - runs-on: ${{ matrix.variant == 'base/base-docker-aarch64' && 'arm64' || 'ubuntu-latest' }} + runs-on: ${{ endsWith(matrix.variant, '-aarch64') && 'arm64' || 'ubuntu-latest' }} container: image: ghcr.io/terrapkg/builder:f40 # Pass /dev from host to container