@@ -28,25 +28,17 @@ jobs:
28
28
29
29
steps :
30
30
- name : Checkout repository
31
- uses : actions/checkout@v3
32
-
33
- # Install the cosign tool except on PR
34
- # https://github.com/sigstore/cosign-installer
35
- - name : Install cosign
36
- if : github.event_name != 'pull_request'
37
- uses : sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 # v2.6.0
38
- with :
39
- cosign-release : ' v1.11.0'
31
+ uses : actions/checkout@v4
40
32
41
33
# Workaround: https://github.com/docker/build-push-action/issues/461
42
34
- name : Setup Docker buildx
43
- uses : docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
35
+ uses : docker/setup-buildx-action@v3
44
36
45
37
# Login against a Docker registry except on PR
46
38
# https://github.com/docker/login-action
47
39
- name : Log into registry ${{ env.REGISTRY }}
48
40
if : github.event_name != 'pull_request'
49
- uses : docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
41
+ uses : docker/login-action@v3
50
42
with :
51
43
registry : ${{ env.REGISTRY }}
52
44
username : ${{ github.actor }}
56
48
# https://github.com/docker/metadata-action
57
49
- name : Extract Docker metadata
58
50
id : meta
59
- uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
51
+ uses : docker/metadata-action@v5
60
52
with :
61
53
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
62
54
tags : |
66
58
# https://github.com/docker/build-push-action
67
59
- name : Build and push Docker image
68
60
id : build-and-push
69
- uses : docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
61
+ uses : docker/build-push-action@v6
70
62
with :
71
63
context : .
72
64
push : ${{ github.event_name != 'pull_request' }}
0 commit comments