Browse Source

add-grype

pull/29/head
fedy95 4 years ago
parent
commit
14849460be
  1. 13
      .drone.yml

13
.drone.yml

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