Skip to content

Commit

Permalink
📌 Pin trivy-action to 0.24.0
Browse files Browse the repository at this point in the history
To resolve the file path errors, see also aquasecurity/trivy-action#404
  • Loading branch information
sergei-maertens authored and robinmolen committed Oct 15, 2024
1 parent 8e05bed commit f75858d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,14 @@ jobs:
with:
name: docker-image-all-extensions-${{ needs.docker_build_setup.outputs.version }}

- run: |
pwd
ls
- name: Scan image with Trivy
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.27.0
with:
input: /github/workspace/image.tar # from download-artifact
input: ${{ github.workspace }}/image.tar # from download-artifact
format: 'sarif'
output: 'trivy-results-docker.sarif'
ignore-unfixed: true
Expand Down

0 comments on commit f75858d

Please sign in to comment.