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 \ --format json \
--no-progress \ --no-progress \
$REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA" $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA"
- sleep 5
when: when:
event: pull_request event: pull_request
@ -53,7 +54,7 @@ steps:
environment: environment:
REGISTRY: registry.fedy95.com REGISTRY: registry.fedy95.com
commands: 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" - "grype --help"
when: when:
event: pull_request event: pull_request