Removed triggers on build stage

This commit is contained in:
2026-04-04 16:25:09 +02:00
parent 1526648d9a
commit 3b5ca4f5b0

View File

@@ -27,13 +27,7 @@ steps:
TRIVY_USERNAME: { from_secret: docker_username } TRIVY_USERNAME: { from_secret: docker_username }
TRIVY_PASSWORD: { from_secret: docker_password } TRIVY_PASSWORD: { from_secret: docker_password }
commands: commands:
- trivy image --image-src remote --exit-code 1 --severity CRITICAL nexus.khongisa.co.za/webapitest:${DRONE_BUILD_NUMBER} - trivy image --image-src remote --exit-code 1 --severity CRITICAL nexus.khongisa.co.za/webapitest:${DRONE_BUILD_NUMBER}
trigger:
event:
- pull_request
branch:
- main
--- ---
kind: pipeline kind: pipeline