Skip to content

Commit

Permalink
feat: add multiple registries to trivy action (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloyx authored Oct 31, 2024
1 parent 23c0ea3 commit d9f94b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/trivy-fs-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
skip-dirs: ${{ inputs.skip_dirs }}
exit-code: ${{ inputs.prcomment && '1' || '0' }}
scan-ref: '${{ inputs.directory }}'
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2

- name: Report vulnerabilities in PR
if: ${{ inputs.prcomment && failure() && steps.scan.outcome == 'failure' }}
Expand Down

0 comments on commit d9f94b9

Please sign in to comment.