Skip to content

Commit b200049

Browse files
authored
Merge pull request #292 from C4illin/native-arm64-builds
2 parents 5083968 + 5646f79 commit b200049

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,16 @@ env:
2323

2424

2525
jobs:
26-
build:
27-
runs-on: ubuntu-latest
26+
build:
27+
runs-on: ${{ matrix.runner }}
28+
strategy:
29+
matrix:
30+
platform: [amd64, arm64]
31+
include:
32+
- platform: amd64
33+
runner: ubuntu-24.04
34+
- platform: arm64
35+
runner: ubuntu-24.04-arm
2836
permissions:
2937
contents: read
3038
packages: write
@@ -71,7 +79,7 @@ jobs:
7179
uses: docker/build-push-action@v6
7280
with:
7381
context: .
74-
platforms: linux/amd64,linux/arm64
82+
platforms: linux/${{ matrix.platform }}
7583
push: ${{ github.event_name != 'pull_request' }}
7684
tags: ${{ steps.meta.outputs.tags }}
7785
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)