chore(): Adds a Trivy scanning step
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Elia el Lazkani 2023-07-03 19:05:23 +02:00
parent 4a0ba93df1
commit 4c608b01c9

View file

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