Add TRIVY_DB_REPOSITORY environment variable to container build workflow

This commit is contained in:
Théophile Diot 2024-11-05 09:59:02 +01:00
parent 45ffdf4f06
commit c03c1b5406
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -130,6 +130,8 @@ jobs:
ignore-unfixed: false
severity: UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL
trivyignores: .trivyignore
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
# Push image
- name: Push image
if: inputs.PUSH == true