Skip to content

Commit cc3564d

Browse files
authored
fix(ci): use ghcr.io for Trivy DB instead of mirror.gcr.io (#509)
mirror.gcr.io returns 404 when downloading the Trivy vulnerability DB, causing CI scans to fail with: FATAL: failed to download artifact from mirror.gcr.io/aquasec/trivy-db:2 Set TRIVY_DB_REPOSITORY and TRIVY_JAVA_DB_REPOSITORY env vars to use the official ghcr.io registry (ghcr.io/aquasecurity/trivy-db:2) in all workflows: security-scan.yml, release.yml, test.yml.
1 parent 92bdf99 commit cc3564d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ jobs:
171171
docker run -d --name streamvault-test \
172172
-p 7000:7000 \
173173
-e DATABASE_URL=sqlite:///./test.db \
174+
-e TWITCH_APP_ID=ci_test_placeholder \
175+
-e TWITCH_APP_SECRET=ci_test_placeholder \
176+
-e BASE_URL=http://localhost:7000 \
174177
streamvault:test
175178
176179
# Wait for container to be healthy with retries

0 commit comments

Comments
 (0)