From 2dfd1634303ca5ec9cc0c3eb47e41740b9f9c2bf Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 28 Nov 2024 19:31:34 -0800 Subject: [PATCH] Add more explicity run strategies in the runner matrix --- .github/workflows/dockerize.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dockerize.yml b/.github/workflows/dockerize.yml index a0f0e1bf..c1cf22e0 100644 --- a/.github/workflows/dockerize.yml +++ b/.github/workflows/dockerize.yml @@ -41,13 +41,20 @@ jobs: strategy: fail-fast: false matrix: - image: - - 'local' - - 'cloud' - platform: - - linux/amd64 - - linux/arm64 - runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-linux-arm64' || 'ubuntu-latest' }} + include: + - image: 'local' + platform: linux/amd64 + runner: ubuntu-latest + - image: 'local' + platform: linux/arm64 + runner: ubuntu-linux-arm64 + - image: 'cloud' + platform: linux/amd64 + runner: ubuntu-latest + - image: 'cloud' + platform: linux/arm64 + runner: ubuntu-linux-arm64 + runs-on: ${{ matrix.runner }} steps: - name: Checkout Code uses: actions/checkout@v3