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