Skip to content

Commit

Permalink
Switch from ghcr.io to ecr for trivy db pull images (#5169)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Nov 6, 2024
1 parent 7861987 commit c417f58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jenkins/docker/docker-scan.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ pipeline {
timeout(time: 30)
}
agent none
environment {
TRIVY_DB_REPOSITORY = 'public.ecr.aws/aquasecurity/trivy-db'
TRIVY_JAVA_DB_REPOSITORY = 'public.ecr.aws/aquasecurity/trivy-java-db'
}
parameters {
string(
name: 'IMAGE_FULL_NAME',
Expand Down

0 comments on commit c417f58

Please sign in to comment.