File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 20
20
- name : Checkout repository
21
21
uses : actions/checkout@v2
22
22
23
+ - name : Set up QEMU
24
+ uses : docker/setup-qemu-action@v1
25
+
26
+ - name : Set up Docker Buildx
27
+ uses : docker/setup-buildx-action@v1
28
+
23
29
- name : Log into registry ${{ env.REGISTRY }}
24
30
if : github.event_name != 'pull_request'
25
- uses : docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
31
+ uses : docker/login-action@v1
26
32
with :
27
33
registry : ${{ env.REGISTRY }}
28
34
username : ${{ secrets.DOCKER_USER }}
41
47
# Build and push Docker image with Buildx (don't push on PR)
42
48
# https://github.com/docker/build-push-action
43
49
- name : Build and push Docker image
44
- uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
50
+ uses : docker/build-push-action@v2
45
51
with :
46
52
context : .
53
+ platforms : linux/amd64,linux/arm64
47
54
push : ${{ github.event_name != 'pull_request' }}
48
55
tags : ${{ steps.meta.outputs.tags }}
49
56
labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments