4747 contents : read
4848 runs-on : ubuntu-latest
4949 steps :
50- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
50+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5151 with :
5252 fetch-depth : 1
5353
@@ -122,20 +122,20 @@ jobs:
122122 matrix :
123123 platform : ${{ fromJson(needs.metadata.outputs.build-platforms) }}
124124 steps :
125- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
125+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
126126 with :
127127 fetch-depth : 1
128128
129- - uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0 .0
130- - uses : docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3 .0
131- - uses : docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1 .0
129+ - uses : docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3 .0
130+ - uses : docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8 .0
131+ - uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3 .0
132132 with :
133133 registry : ghcr.io
134134 username : ${{ github.actor }}
135135 password : ${{ secrets.GITHUB_TOKEN }}
136136
137137 - id : metadata
138- uses : docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5 .1
138+ uses : docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6 .1
139139 with :
140140 images : ghcr.io/${{ github.repository_owner }}/${{ needs.metadata.outputs.image-name }}
141141 flavor : |
@@ -146,7 +146,7 @@ jobs:
146146 com.github.beluga-cloud.ci.workflow.url=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
147147 org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/${{ inputs.containerfile }}
148148
149- - uses : docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3 .0
149+ - uses : docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4 .0
150150 id : build
151151 with :
152152 context : ${{ needs.metadata.outputs.build-context }}
@@ -163,7 +163,7 @@ jobs:
163163 DIGEST : ${{ steps.build.outputs.digest }}
164164
165165 # NOTE: on production mode, all images are signed
166- - uses : sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5 .0
166+ - uses : sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7 .0
167167 if : ${{ !inputs.dry-run }}
168168 - name : Sign 'ghcr.io/${{ github.repository_owner }}/${{ needs.metadata.outputs.image-name }}@${{ steps.build.outputs.digest }}' with GitHub OIDC Token
169169 if : ${{ !inputs.dry-run }}
@@ -173,7 +173,7 @@ jobs:
173173 - name : Rename OCI image artifact before upload
174174 if : ${{ inputs.dry-run }}
175175 run : mv ${{ needs.metadata.outputs.image-slug }}.tar oci.${{ needs.metadata.outputs.image-slug }}-${{ matrix.platform.arch }}-${{ matrix.platform.os }}.tar
176- - uses : actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
176+ - uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
177177 if : ${{ inputs.dry-run }}
178178 with :
179179 name : oci.${{ needs.metadata.outputs.image-slug }}-${{ matrix.platform.arch }}-${{ matrix.platform.os }}.tar
@@ -208,8 +208,8 @@ jobs:
208208 security-events : write
209209 runs-on : ubuntu-latest
210210 steps :
211- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
212- - uses : aquasecurity/trivy-action@d710430a6722f083d3b36b8339ff66b32f22ee55 # 0.19 .0
211+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
212+ - uses : aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # 0.29 .0
213213 with :
214214 format : sarif
215215 hide-progress : false
@@ -222,7 +222,7 @@ jobs:
222222 sarif_file : trivy-results.sarif
223223
224224 # NOTE: fail the build only if vulnerabilities with severity HIGH or CRITICAL are found
225- - uses : aquasecurity/trivy-action@d710430a6722f083d3b36b8339ff66b32f22ee55 # 0.19 .0
225+ - uses : aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # 0.29 .0
226226 with :
227227 exit-code : ' 1'
228228 format : table
0 commit comments