We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5083968 + 5646f79 commit b200049Copy full SHA for b200049
.github/workflows/docker-publish.yml
@@ -23,8 +23,16 @@ env:
23
24
25
jobs:
26
- build:
27
- runs-on: ubuntu-latest
+ build:
+ 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
36
permissions:
37
contents: read
38
packages: write
@@ -71,7 +79,7 @@ jobs:
71
79
uses: docker/build-push-action@v6
72
80
with:
73
81
context: .
74
- platforms: linux/amd64,linux/arm64
82
+ platforms: linux/${{ matrix.platform }}
75
83
push: ${{ github.event_name != 'pull_request' }}
76
84
tags: ${{ steps.meta.outputs.tags }}
77
85
labels: ${{ steps.meta.outputs.labels }}
0 commit comments