Skip to content

Commit

Permalink
fix: repoint Trivy to use ECR mirror
Browse files Browse the repository at this point in the history
Signed-off-by: James Ramirez <[email protected]>
  • Loading branch information
ramirezj committed Nov 1, 2024
1 parent 5b584e1 commit f1c6af0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/speculative-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
security-events: write

env:
trivy_sarif: trivy.sarif

steps:
- name: Harden Runner
Expand All @@ -98,6 +97,9 @@ jobs:
scan-type: "fs"
format: "sarif"
output: ${{ env.trivy_sarif }}
env:
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db"
TRIVY_JAVA_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-java-db"

- name: Report via GitHub CodeQL
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
Expand Down

0 comments on commit f1c6af0

Please sign in to comment.