From 44580ab25c5d873c03e26ec5a1620d7dccbb3a21 Mon Sep 17 00:00:00 2001 From: fedy95 Date: Mon, 28 Jun 2021 20:49:39 +0300 Subject: [PATCH] add-grype --- .drone.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0e90b62..81c48ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -54,7 +54,8 @@ steps: 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 + - "curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | \ + sh -s -- -b /usr/local/bin" - "grype $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA \ --scope all-layers \ --fail-on=critical \ @@ -71,9 +72,7 @@ steps: - docker rmi registry.fedy95.com/baseimage-yamllint:$DRONE_COMMIT_SHA when: event: pull_request - depends_on: - - trivy - - grype + depends_on: [trivy, grype] - name: release image: docker:dind