Skip to content

Commit

Permalink
ci: add github token as environment variable to trivy scanning job
Browse files Browse the repository at this point in the history
  • Loading branch information
siljekristensen committed Sep 24, 2024
1 parent d38ed40 commit 56a5a6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ jobs:
- name: Trivy scanning
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
uses: aquasecurity/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
image-ref: "${{ steps.trivy-image.outputs.image }}"
format: "table"
Expand Down

0 comments on commit 56a5a6c

Please sign in to comment.