diff --git a/.github/workflows/trivy-fs-scan.yaml b/.github/workflows/trivy-fs-scan.yaml index d0a102f..d276253 100644 --- a/.github/workflows/trivy-fs-scan.yaml +++ b/.github/workflows/trivy-fs-scan.yaml @@ -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' }}