Refactored the pipeline to pull the trivy image from nexus as well

This commit is contained in:
2026-04-04 15:33:03 +02:00
parent 30e0bc2b87
commit b46848dd56

View File

@@ -43,7 +43,7 @@ steps:
from_secret: docker_password from_secret: docker_password
- name: vulnerability-scan - name: vulnerability-scan
image: aquasec/trivy:0.50.1 image: nexus.khongisa.co.za/aquasec/trivy:0.50.1
environment: environment:
# Trivy needs these to pull the image from your Nexus to scan it # Trivy needs these to pull the image from your Nexus to scan it
TRIVY_USERNAME: TRIVY_USERNAME: