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 a3eecbe commit 8dd7c2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ 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 8dd7c2a

Please sign in to comment.