Skip to content

Commit

Permalink
fix: pass ACTIONS_RUNTIME_TOKEN to Trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Sep 30, 2024
1 parent a0a5ba5 commit 61ea100
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/build-docker-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ runs:
uses: docker://aquasec/trivy:0.55.2
with:
args: image --format json --ignore-unfixed --vuln-type os ${{ inputs.primaryTag }} --output trivy.json
env:
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Print report
uses: docker://aquasec/trivy:0.55.2
Expand Down

0 comments on commit 61ea100

Please sign in to comment.