Skip to content

Commit f75858d

Browse files
sergei-maertensrobinmolen
authored andcommitted
📌 Pin trivy-action to 0.24.0
To resolve the file path errors, see also aquasecurity/trivy-action#404
1 parent 8e05bed commit f75858d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -421,10 +421,14 @@ jobs:
421421
with:
422422
name: docker-image-all-extensions-${{ needs.docker_build_setup.outputs.version }}
423423

424+
- run: |
425+
pwd
426+
ls
427+
424428
- name: Scan image with Trivy
425-
uses: aquasecurity/trivy-action@master
429+
uses: aquasecurity/trivy-action@0.27.0
426430
with:
427-
input: /github/workspace/image.tar # from download-artifact
431+
input: ${{ github.workspace }}/image.tar # from download-artifact
428432
format: 'sarif'
429433
output: 'trivy-results-docker.sarif'
430434
ignore-unfixed: true

0 commit comments

Comments
 (0)