Skip to content
Snippets Groups Projects
Commit b89f06e5 authored by Bertrand Goareguer's avatar Bertrand Goareguer Committed by Pierre Smeyers
Browse files

fix(trivy): fail when scanning an image that has reached EOL

parent 5c9148c0
Branches
Tags
No related merge requests found
......@@ -83,7 +83,7 @@ variables:
DOCKER_TRIVY_SECURITY_LEVEL_THRESHOLD: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL"
DOCKER_TRIVY_IMAGE: "registry.hub.docker.com/aquasec/trivy:latest"
DOCKER_TRIVY_ARGS: "--ignore-unfixed --vuln-type os"
DOCKER_TRIVY_ARGS: "--ignore-unfixed --vuln-type os --exit-on-eol 1"
# SBOM genenration image and arguments
DOCKER_SBOM_IMAGE: "registry.hub.docker.com/anchore/syft:debug"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment