Browse Source

add-grype

pull/29/head
fedy95 4 years ago
parent
commit
c1437e20c9
  1. 3
      .drone.yml

3
.drone.yml

@ -42,6 +42,7 @@ steps:
--format json \
--no-progress \
$REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA"
- sleep 5
when:
event: pull_request
@ -53,7 +54,7 @@ steps:
environment:
REGISTRY: registry.fedy95.com
commands:
# - "grype $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA --scope all-layers --fail-on=critical"
- "grype $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA --scope all-layers --fail-on=critical"
- "grype --help"
when:
event: pull_request