Skip to content

Commit af57341

Browse files
committed
use different github runners arch to build docker images
Signed-off-by: bennesp <[email protected]>
1 parent ec71e36 commit af57341

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: .github/workflows/docker-image.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ env:
1919

2020
jobs:
2121
build-and-push-image:
22-
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
os: [ubuntu-24.04, ubuntu-24.04-arm]
25+
runs-on: ${{ matrix.os }}
26+
2327
permissions:
2428
contents: read
2529
packages: write
@@ -55,7 +59,6 @@ jobs:
5559
context: .
5660
push: ${{ github.event_name == 'push' && 'true' || 'false' }}
5761
sbom: ${{ github.event_name == 'push' && 'true' || 'false' }}
58-
platforms: linux/amd64,linux/arm64
5962
tags: ${{ steps.meta.outputs.tags }}
6063
labels: ${{ steps.meta.outputs.labels }}
6164
cache-from: type=gha

0 commit comments

Comments
 (0)