add scan stage
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-01-16 11:49:11 +01:00
parent 88f012abc1
commit e62e6782a2
Signed by: wn
GPG Key ID: 18FDFA577A8871AD

View File

@ -16,6 +16,13 @@ steps:
when: when:
- event: [push,tag] - event: [push,tag]
scan_image:
image: aquasec/trivy
commands:
- trivy image $FORGE_NAME/$CI_REPO:$CI_COMMIT_SHA --quiet --exit-code 1
when:
- event: [push, tag]
deploy: deploy:
image: portainer/kubectl-shell:latest image: portainer/kubectl-shell:latest
secrets: secrets: