34
34
# https://github.com/docker/metadata-action
35
35
- name : Extract Docker metadata
36
36
id : meta
37
- uses : docker/metadata-action@v4
37
+ uses : docker/metadata-action@v5
38
38
with :
39
39
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
40
40
@@ -43,12 +43,12 @@ jobs:
43
43
44
44
# Workaround: https://github.com/docker/build-push-action/issues/461
45
45
- name : Setup Docker buildx
46
- uses : docker/setup-buildx-action@v2
46
+ uses : docker/setup-buildx-action@v3
47
47
48
48
# Build Docker image with Buildx
49
49
# https://github.com/docker/build-push-action
50
50
- name : Build Docker image
51
- uses : docker/build-push-action@v3
51
+ uses : docker/build-push-action@v6
52
52
with :
53
53
load : true
54
54
context : .
67
67
# https://github.com/docker/login-action
68
68
- name : Log into registry ${{ env.REGISTRY }}
69
69
if : github.event_name != 'pull_request'
70
- uses : docker/login-action@v2
70
+ uses : docker/login-action@v3
71
71
with :
72
72
registry : ${{ env.REGISTRY }}
73
73
username : ${{ secrets.DOCKER_USERNAME }}
76
76
# Build and push Docker image with Buildx (don't push on PR)
77
77
# https://github.com/docker/build-push-action
78
78
- name : Build and push Docker image
79
- uses : docker/build-push-action@v3
79
+ uses : docker/build-push-action@v6
80
80
with :
81
81
push : ${{ github.event_name != 'pull_request' }}
82
82
context : .
0 commit comments