File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10- runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ os : [ubuntu-latest]
13+ arch : [amd64, arm64]
14+
15+ runs-on : ${{ matrix.os }}
1116 steps :
1217 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1318 with :
6166 # Can't build both platforms and use --load at the same time
6267 # https://github.com/docker/buildx/issues/59#issuecomment-1433097926
6368 - name : Build Multi-arch docker-image
64- if : steps.changed-files-specific.outputs.any_changed == 'true'
69+ if : steps.changed-files-specific.outputs.any_changed == 'true' && matrix.os == 'ubuntu-latest' && matrix.arch == 'amd64'
6570 uses : docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
6671 with :
6772 context : .
You can’t perform that action at this time.
0 commit comments