File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 20
20
- name : Checkout repository
21
21
uses : actions/checkout@v4
22
22
23
+ - name : Set up QEMU
24
+ uses : docker/setup-qemu-action@v3
25
+
26
+ - name : Set up Docker Buildx
27
+ uses : docker/setup-buildx-action@v3
28
+
23
29
- name : Login to DockerHub
24
30
if : github.event_name != 'pull_request'
25
31
uses : docker/login-action@v3
@@ -45,10 +51,17 @@ jobs:
45
51
type=raw,value=latest
46
52
type=ref,event=tag
47
53
48
- - name : Build and push Docker image
54
+ - name : Build and push multi-arch Docker images
49
55
uses : docker/build-push-action@v6
50
56
with :
51
57
context : .
58
+ platforms : |
59
+ linux/amd64,
60
+ linux/arm64,
61
+ linux/arm/v7,
62
+ linux/ppc64le,
63
+ linux/s390x
52
64
push : ${{ github.event_name != 'pull_request' }}
65
+ pull : true
53
66
tags : ${{ steps.meta.outputs.tags }}
54
67
labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments