diff --git a/templates/gitlab-ci-docker.yml b/templates/gitlab-ci-docker.yml
index c938fdbd353b16f643e6931eb72a4b401ae70990..02914912a731253bb41958627745ec7c072389e6 100644
--- a/templates/gitlab-ci-docker.yml
+++ b/templates/gitlab-ci-docker.yml
@@ -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"