File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1818jobs :
1919 build :
2020 runs-on : ubuntu-latest
21- strategy :
22- matrix :
23- platform : [ linux/amd64, linux/arm64 ]
2421 steps :
2522 - uses : actions/checkout@v3
2623 - uses : actions/cache@v2
@@ -53,18 +50,16 @@ jobs:
5350 type=semver,pattern={{version}}
5451 type=semver,pattern={{major}}.{{minor}}
5552 - name : Set up QEMU
56- if : ${{ matrix.platform != 'linux/amd64' }}
5753 uses : docker/setup-qemu-action@v1
5854 - name : Set up Docker Buildx
59- if : ${{ matrix.platform != 'linux/amd64' }}
60- uses : docker/setup-buildx-action@v1
6155 id : buildx
62- - name : Build and push image (${{ matrix.platform }})
56+ uses : docker/setup-buildx-action@v1
57+ - name : Build and push image
6358 uses : docker/build-push-action@v2
6459 with :
6560 context : .
6661 file : ./build/Dockerfile
67- platforms : ${{ matrix.platform }}
62+ platforms : linux/amd64,linux/arm64
6863 tags : ${{ steps.meta.outputs.tags }}
6964 labels : ${{ steps.meta.outputs.labels }}
7065 build-args : |
You can’t perform that action at this time.
0 commit comments