Skip to content

Commit

Permalink
Provide for disabling security scan in ci-pr.yml and adding alternati…
Browse files Browse the repository at this point in the history
…ve repo

Added env to control the scan.
Added env to identify alternate repo.
  • Loading branch information
Corneil du Plessis committed Nov 18, 2024
1 parent 8ebc627 commit b70a10c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ on:
pull_request:

env:
ENABLE_SECURITY_SCAN: 'false'
ENABLE_SECURITY_SCAN: 'true'
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db,aquasec/trivy-db,ghcr.io/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db,aquasec/trivy-java-db,ghcr.io/aquasecurity/trivy-java-db


jobs:
build:
Expand Down

0 comments on commit b70a10c

Please sign in to comment.