Browse Source

add-grype

pull/29/head
fedy95 4 years ago
parent
commit
622f26c843
  1. 1
      .drone.yml

1
.drone.yml

@ -53,6 +53,7 @@ steps:
environment:
REGISTRY: registry.fedy95.com
commands:
- apk add --no-cache 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 --help"
- "grype $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA --scope all-layers --fail-on=critical"