|
@ -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 |
|
|