Skip to content

Commit

Permalink
Define runner based on platform
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Jan 17, 2025
1 parent 351a00f commit 6b4f693
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ env:
jobs:
container:
name: Container
runs-on: ${{ matrix.platform == 'arm64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
platform: [amd64, arm64]
include:
- platform: amd64
runner: ubuntu-22.04
- platform: arm64
runner: ubuntu-22.04-arm
permissions:
packages: write
steps:
Expand Down

0 comments on commit 6b4f693

Please sign in to comment.