chore(): Adds dependency on the scan step
This commit is contained in:
parent
67758c6e74
commit
ace04398a2
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue