Skip to content

Commit

Permalink
Add more explicity run strategies in the runner matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Nov 29, 2024
1 parent 80cd902 commit 2dfd163
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/dockerize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2dfd163

Please sign in to comment.