diff --git a/.drone.yml b/.drone.yml index b9526f5..cc21745 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,7 @@ steps: REGISTRY_PASSWORD: from_secret: registry_password 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: - build-container