fix(ci): use ghcr.io mirror for Trivy DB to avoid mirror.gcr.io DNS failures #759
Reference in New Issue
Block a user
Delete Branch "fix/ci-prisma-generate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Pipeline #1056 failed on all three
security-trivy-*steps with:Trivy attempts to download its vulnerability DB from
mirror.gcr.io/aquasec/trivy-db:2by default. The CI runner intermittently cannot resolve this DNS name.Fix
Add
--db-repository ghcr.io/aquasecurity/trivy-dbto all three Trivy scan steps. GitHub Container Registry is more reliably accessible from the CI runner environment.Impact
Testing
This change only affects CI configuration. No code logic changes.