From bf5137d673a33b135e9052aa49af12c9fa824189 Mon Sep 17 00:00:00 2001 From: fedy95 Date: Mon, 28 Jun 2021 20:30:59 +0300 Subject: [PATCH] add-grype --- .drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9c615b5..47c5ee6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -55,8 +55,10 @@ steps: commands: - apk add --no-cache curl - curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin - - "grype $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA --help" - - "grype $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA --scope all-layers --fail-on=critical" + - "grype $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA \ + --scope all-layers \ + --fail-on=critical \ + --verbose" when: event: pull_request