Skip to content

Commit

Permalink
Merge pull request #273 from grendel-consulting/use-trivy-mirror
Browse files Browse the repository at this point in the history
fix: repoint Trivy to use ECR mirror
  • Loading branch information
ramirezj authored Nov 1, 2024
2 parents 5b584e1 + f1c6af0 commit 73a0993
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 73a0993

Please sign in to comment.