File tree 1 file changed +14
-5
lines changed
1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -33,25 +33,34 @@ jobs:
33
33
34
34
steps :
35
35
- name : Checkout
36
- uses : actions/checkout@v3
36
+ uses : actions/checkout@v4
37
37
38
38
- name : Log in to the Container registry
39
- uses : docker/login-action@v2
39
+ uses : docker/login-action@v3
40
40
with :
41
41
registry : ${{ env.REGISTRY }}
42
42
username : ${{ github.actor }}
43
43
password : ${{ secrets.GITHUB_TOKEN }}
44
44
45
+ - name : Set up QEMU
46
+ uses : docker/setup-qemu-action@v3
47
+
48
+ - name : Set up Docker Buildx
49
+ uses : docker/setup-buildx-action@v3
50
+
45
51
- name : Extract metadata (tags, labels) for Docker
46
52
id : meta
47
- uses : docker/metadata-action@v4
53
+ uses : docker/metadata-action@v5
48
54
with :
49
55
images : ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
50
56
51
57
- name : Build and push
52
- uses : docker/build-push-action@v4
58
+ uses : docker/build-push-action@v5
53
59
with :
54
60
file : Dockerfile
55
- push : ${{ startsWith(github.ref, 'refs/tags') }} # push image only for tags
61
+ push : ${{ startsWith(github.ref, 'refs/tags') }}
62
+ platforms : linux/amd64,linux/arm64
56
63
tags : ${{ steps.meta.outputs.tags }}
57
64
labels : ${{ steps.meta.outputs.labels }}
65
+ cache-from : type=gha
66
+ cache-to : type=gha
You can’t perform that action at this time.
0 commit comments