Skip to content

Commit c821253

Browse files
authored
Update trivy-scan.yaml
1 parent 306edef commit c821253

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/trivy-scan.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
3333
- name: Run Trivy vulnerability scanner
3434
uses: aquasecurity/[email protected]
35+
env:
36+
TRIVY_DB_REPOSITORY: "ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db"
3537
with:
3638
image-ref: "${{ env.REPOSITORY_NAME }}:${{ github.sha }}"
3739
format: "sarif"
@@ -41,4 +43,4 @@ jobs:
4143
- name: Upload Trivy scan results to GitHub Security tab
4244
uses: github/codeql-action/upload-sarif@v3
4345
with:
44-
sarif_file: "trivy-results.sarif"
46+
sarif_file: "trivy-results.sarif"

0 commit comments

Comments
 (0)