File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- name : Docker Image
1
+ name : Release
2
2
3
3
on :
4
4
release :
@@ -16,30 +16,30 @@ jobs:
16
16
packages : write
17
17
18
18
steps :
19
- - name : Checkout repository
20
- uses : actions/checkout@v2
19
+ - uses : actions/checkout@v4
21
20
22
- - name : Log into registry ${{ env.REGISTRY }}
23
- uses : docker/login-action@v1
21
+ - uses : docker/setup-qemu-action@v3
22
+ - uses : docker/setup-buildx-action@v3
23
+
24
+ - uses : docker/login-action@v3
24
25
with :
25
26
registry : ${{ env.REGISTRY }}
26
27
username : ${{ github.actor }}
27
28
password : ${{ secrets.GITHUB_TOKEN }}
28
29
29
- - name : Extract Docker metadata
30
+ - uses : docker/ metadata-action@v5
30
31
id : meta
31
- uses : docker/metadata-action@v3
32
32
with :
33
33
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
34
34
tags : |
35
35
type=ref,event=branch
36
36
type=ref,event=pr
37
37
type=semver,pattern={{version}}
38
38
39
- - name : Build and push Docker image
40
- uses : docker/build-push-action@v2
39
+ - uses : docker/build-push-action@v4
41
40
with :
42
41
context : .
42
+ platforms : linux/amd64,linux/arm64
43
43
push : true
44
44
tags : ${{ steps.meta.outputs.tags }}
45
45
labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments