File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 19
19
20
20
jobs :
21
21
build-and-push :
22
- strategy :
23
- matrix :
24
- arch :
25
- - linux/amd64
26
- - linux/arm64
22
+ # # The matrix build doesn't work right now, because the push step for the slowest arch
23
+ # # will overwrite the metadata for the faster arch.
24
+ # # We should implement this to fix it: https://docs.docker.com/build/ci/github-actions/multi-platform/#distribute-build-across-multiple-runners
25
+ # strategy:
26
+ # matrix:
27
+ # arch:
28
+ # - linux/amd64
29
+ # - linux/arm64
27
30
permissions :
28
31
packages : write
29
32
contents : read
58
61
uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
59
62
with :
60
63
context : .
61
- platforms : " ${{ matrix.arch }} "
64
+ platforms : linux/amd64,linux/arm64
62
65
push : ${{ github.ref == 'refs/heads/master' }}
63
66
tags : |
64
67
ghcr.io/${{ github.repository }}:latest
You can’t perform that action at this time.
0 commit comments