File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 2020
2121jobs :
2222 build :
23- name : Build
2423 runs-on : ubuntu-latest
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ platform :
28+ - linux/amd64
29+ - linux/arm64
2530 concurrency :
2631 group : build-${{ github.workflow }}-${{ github.ref }}
2732 cancel-in-progress : true
2833 steps :
34+ - name : Prepare
35+ run : |
36+ platform=${{ matrix.platform }}
37+ echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
38+
2939 - name : Checkout
3040 uses : actions/checkout@v4
3141
5767 context : .
5868 push : ${{ startsWith(github.ref, 'refs/tags/') }}
5969 provenance : mode=max
60- platforms : linux/amd64,linux/arm64
70+ platforms : ${{ matrix.platform }}
6171 tags : ${{ steps.meta.outputs.tags }}
6272 labels : ${{ steps.meta.outputs.labels }}
6373 annotations : ${{ steps.meta.outputs.annotations }}
You can’t perform that action at this time.
0 commit comments