@@ -35,27 +35,27 @@ jobs:
35
35
36
36
steps :
37
37
- name : Checkout repository
38
- uses : actions/checkout@v3
38
+ uses : actions/checkout@v4
39
39
40
40
# Install the cosign tool except on PR
41
41
# https://github.com/sigstore/cosign-installer
42
42
- name : Install cosign
43
43
if : github.event_name != 'pull_request'
44
- uses : sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3.1.1
44
+ uses : sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0
45
45
with :
46
- cosign-release : ' v2.1.1 '
46
+ cosign-release : ' v2.4.0 '
47
47
48
48
# Set up BuildKit Docker container builder to be able to build
49
49
# multi-platform images and export cache
50
50
# https://github.com/docker/setup-buildx-action
51
51
- name : Set up Docker Buildx
52
- uses : docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
52
+ uses : docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
53
53
54
54
# Login against a Docker registry except on PR
55
55
# https://github.com/docker/login-action
56
56
- name : Log into registry ${{ env.REGISTRY }}
57
57
if : github.event_name != 'pull_request'
58
- uses : docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0 .0
58
+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3 .0
59
59
with :
60
60
registry : ${{ env.REGISTRY }}
61
61
username : ${{ github.actor }}
@@ -65,15 +65,17 @@ jobs:
65
65
# https://github.com/docker/metadata-action
66
66
- name : Extract Docker metadata
67
67
id : meta
68
- uses : docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
68
+ uses : docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
69
69
with :
70
70
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
71
71
72
72
# Build and push Docker image with Buildx (don't push on PR)
73
73
# https://github.com/docker/build-push-action
74
74
- name : Build and push Docker image
75
75
id : build-and-push
76
- uses : docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
76
+ uses : docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
77
+ env :
78
+ DOCKER_BUILD_RECORD_UPLOAD : false
77
79
with :
78
80
context : .
79
81
platforms : linux/amd64,linux/arm64
0 commit comments