File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,19 @@ permissions:
1515
1616jobs :
1717 build :
18- runs-on : ubuntu-latest
18+ runs-on : ${{ matrix.platform.runner }}
1919 strategy :
2020 fail-fast : false
2121 matrix :
2222 platform :
23- - linux/amd64
24- - linux/arm64
23+ - docker : linux/amd64
24+ runner : ubuntu-latest
25+ - docker : linux/arm64
26+ runner : ubuntu-latest-arm
2527 steps :
2628 - name : Prepare
2729 run : |
28- platform=${{ matrix.platform }}
30+ platform=${{ matrix.platform.docker }}
2931 echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
3032
3133 - name : Check out the repository
5456 id : build
5557 uses : docker/build-push-action@v6
5658 with :
57- platforms : ${{ matrix.platform }}
59+ platforms : ${{ matrix.platform.docker }}
5860 labels : ${{ steps.meta.outputs.labels }}
5961 tags : ${{ env.REGISTRY_IMAGE }}
6062 outputs : type=image,push-by-digest=true,name-canonical=true,push=true
You can’t perform that action at this time.
0 commit comments