File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 18
18
jobs :
19
19
build :
20
20
runs-on : ubuntu-latest
21
- strategy :
22
- matrix :
23
- platform : [ linux/amd64, linux/arm64 ]
24
21
steps :
25
22
- uses : actions/checkout@v3
26
23
- uses : actions/cache@v2
@@ -55,15 +52,14 @@ jobs:
55
52
- name : Set up QEMU
56
53
uses : docker/setup-qemu-action@v1
57
54
- name : Set up Docker Buildx
58
- if : ${{ matrix.platform != 'linux/amd64' }}
59
- uses : docker/setup-buildx-action@v1
60
55
id : buildx
61
- - name : Build and push image (${{ matrix.platform }})
56
+ uses : docker/setup-buildx-action@v1
57
+ - name : Build and push image
62
58
uses : docker/build-push-action@v2
63
59
with :
64
60
context : .
65
61
file : ./build/Dockerfile
66
- platforms : ${{ matrix.platform }}
62
+ platforms : linux/amd64,linux/arm64
67
63
tags : ${{ steps.meta.outputs.tags }}
68
64
labels : ${{ steps.meta.outputs.labels }}
69
65
build-args : |
You can’t perform that action at this time.
0 commit comments