chore(): Adds a Trivy scanning step
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
4a0ba93df1
commit
4c608b01c9
1 changed files with 6 additions and 0 deletions
|
@ -15,10 +15,16 @@ steps:
|
||||||
repo: scm.project42.io/elia/trivy
|
repo: scm.project42.io/elia/trivy
|
||||||
dry_run: true
|
dry_run: true
|
||||||
squash: true
|
squash: true
|
||||||
|
purge: false
|
||||||
tags:
|
tags:
|
||||||
- pre-scan
|
- pre-scan
|
||||||
- "${DRONE_COMMIT_SHA:0:8}"
|
- "${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
|
||||||
|
- name: trivy-scan
|
||||||
|
image: scm.project42.io/elia/trivy:production
|
||||||
|
commands:
|
||||||
|
- trivy image scm.project42.io/elia/trivy:pre-scan
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
exclude:
|
exclude:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in a new issue