Browse Source

add-grype

pull/29/head
fedy95 4 years ago
parent
commit
7e06626fe5
  1. 12
      .drone.yml

12
.drone.yml

@ -45,18 +45,18 @@ steps:
# when:
# event: pull_request
# - name: grype security check
# image: anchore/grype:latest
- name: grype security check
image: anchore/grype:latest
# volumes:
# - name: dockersock
# path: /var/run/docker.sock
# environment:
# REGISTRY: registry.fedy95.com
# commands:
commands:
# - "grype $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA --scope all-layers --fail-on=critical"
# - sleep 20
# when:
# event: pull_request
- sleep 20
when:
event: pull_request
- name: cleanup
image: docker:dind