From 622f26c8437b948980d4f9aeecce267007e391d8 Mon Sep 17 00:00:00 2001 From: fedy95 Date: Mon, 28 Jun 2021 20:29:26 +0300 Subject: [PATCH] add-grype --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 3f3ad89..9c615b5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,6 +53,7 @@ steps: environment: REGISTRY: registry.fedy95.com 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"