|
|
@ -55,8 +55,10 @@ steps: |
|
|
|
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" |
|
|
|
- "grype $REGISTRY/baseimage-yamllint:$DRONE_COMMIT_SHA \ |
|
|
|
--scope all-layers \ |
|
|
|
--fail-on=critical \ |
|
|
|
--verbose" |
|
|
|
when: |
|
|
|
event: pull_request |
|
|
|
|
|
|
|