From 06240187369d9da17b0b620bd7b343609f4eb0e1 Mon Sep 17 00:00:00 2001 From: fedy95 Date: Mon, 28 Jun 2021 19:56:26 +0300 Subject: [PATCH] add-grype --- .drone.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9dee2cf..543019a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,19 +45,19 @@ steps: # when: # event: pull_request - - name: grype security check - image: docker:dind - volumes: - - name: dockersock - path: /var/run/docker.sock - environment: - REGISTRY: registry.fedy95.com - commands: - - apk add 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 --scope all-layers --fail-on=critical" - when: - event: pull_request +# - name: grype security check +# image: docker:dind +# volumes: +# - name: dockersock +# path: /var/run/docker.sock +# environment: +# REGISTRY: registry.fedy95.com +# commands: +# - apk add 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 --scope all-layers --fail-on=critical" +# when: +# event: pull_request - name: grype security check image: anchore/grype