chore(): Adds dependency on the scan step
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
Elia el Lazkani 2024-01-20 01:40:19 +01:00
parent 67758c6e74
commit ace04398a2

View file

@ -42,6 +42,7 @@ steps:
from_secret: registry_password
commands:
- trivy image --image-src remote --exit-code 0 --username "$REGISTRY_USERNAME" --password "$REGISTRY_PASSWORD" "scm.project42.io/elia/tricks:${DRONE_COMMIT_SHA:0:8}"
depends_on:
- build
@ -65,6 +66,9 @@ steps:
target:
- production
depends_on:
- scan
trigger:
event:
- promote