chore(): Adds credentials to trivy
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d565f4d6b9
commit
a26cdcf42e
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ steps:
|
||||||
REGISTRY_PASSWORD:
|
REGISTRY_PASSWORD:
|
||||||
from_secret: registry_password
|
from_secret: registry_password
|
||||||
commands:
|
commands:
|
||||||
- trivy image --image-src remote --exit-code 0 "scm.project42.io/elia/nikola:${DRONE_COMMIT_SHA:0:8}"
|
- trivy image --image-src remote --username "$REGISTRY_USERNAME" --password "$REGISTRY_PASSWORD" --exit-code 0 "scm.project42.io/elia/nikola:${DRONE_COMMIT_SHA:0:8}"
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-container
|
- build-container
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue