From c1437e20c9649fa039e17226192296325452a883 Mon Sep 17 00:00:00 2001 From: fedy95 Date: Mon, 28 Jun 2021 19:22:35 +0300 Subject: [PATCH] add-grype --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 857c5c7..e39fea6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -42,6 +42,7 @@ steps: --format json \ --no-progress \ $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA" + - sleep 5 when: event: pull_request @@ -53,7 +54,7 @@ steps: environment: REGISTRY: registry.fedy95.com commands: -# - "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" - "grype --help" when: event: pull_request