@@ -102,7 +102,7 @@ jobs:
102102 run :
103103 working-directory : ${{ inputs.working-directory }}
104104 steps :
105- - uses : step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16 .0
105+ - uses : step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19 .0
106106 with :
107107 disable-sudo : ${{ inputs.disable-sudo }}
108108 egress-policy : block
@@ -129,7 +129,7 @@ jobs:
129129 with :
130130 cache-binary : false
131131 - name : Log in to the Container registry
132- uses : docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0 .0
132+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1 .0
133133 if : inputs.push
134134 with :
135135 registry : ${{ inputs.registry }}
@@ -146,7 +146,7 @@ jobs:
146146 - name : Build and push
147147 id : build
148148 if : inputs.push
149- uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0 .0
149+ uses : docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1 .0
150150 with :
151151 annotations : ${{ steps.metadata.outputs.annotations }}
152152 cache-from : type=gha
@@ -161,7 +161,7 @@ jobs:
161161 - name : Build push locally
162162 id : build-local
163163 if : ${{ !inputs.push }}
164- uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0 .0
164+ uses : docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1 .0
165165 with :
166166 cache-from : type=gha
167167 cache-to : type=gha,mode=max
@@ -186,7 +186,7 @@ jobs:
186186 echo "local_image_ref=${LOCAL_IMAGE_REF}"
187187 } >> "${GITHUB_OUTPUT}"
188188 - name : Run Trivy Scan
189- uses : aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35 .0
189+ uses : aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36 .0
190190 if : inputs.scan-image
191191 with :
192192 format : sarif
@@ -197,7 +197,7 @@ jobs:
197197 output : ${{ inputs.working-directory }}/trivy_results.sarif
198198 github-pat : ${{ secrets.GITHUB_TOKEN }}
199199 - name : Generate SBOM
200- uses : aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35 .0
200+ uses : aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36 .0
201201 if : inputs.push
202202 with :
203203 format : spdx-json
@@ -214,7 +214,7 @@ jobs:
214214 create-storage-record : ${{ startsWith(inputs.registry, 'ghcr.io') }}
215215 sbom-path : ${{ inputs.working-directory }}/sbom.spdx.json
216216 - name : Install cosign
217- uses : sigstore/cosign-installer@ba7bc0a3fef59531c69a25acd34668d6d3fe6f22 # v4.1.0
217+ uses : sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1
218218 if : inputs.push && inputs.sign-image
219219 - name : Sign image
220220 if : inputs.push && inputs.sign-image
@@ -238,7 +238,7 @@ jobs:
238238 echo -n "$(cat ./trivy_results.sarif)" | reviewdog -reporter=github-check -f=sarif -level=warning -diff="git diff FETCH_HEAD"
239239 - name : Upload results
240240 if : ${{ inputs.scan-image && inputs.upload-sarif }}
241- uses : github/codeql-action/upload-sarif@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
241+ uses : github/codeql-action/upload-sarif@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
242242 with :
243243 sarif_file : ${{ inputs.working-directory }}/trivy_results.sarif
244244 category : container-security
0 commit comments