another trivy test, 8
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Wolfgang Hottgenroth 2024-02-06 12:50:01 +01:00
parent 6fe351e110
commit 3cee043e28
Signed by: wn
GPG Key ID: 836E9E1192A6B132

View File

@ -2,7 +2,7 @@ steps:
build: build:
image: plugins/kaniko image: plugins/kaniko
settings: settings:
repo: ${CI_FORGE_URL}/${CI_REPO} repo: ${FORGE_NAME}/${CI_REPO}
registry: registry:
from_secret: container_registry from_secret: container_registry
tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG} tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG}
@ -20,7 +20,7 @@ steps:
scan_image: scan_image:
image: aquasec/trivy image: aquasec/trivy
commands: commands:
- trivy image $CI_REPO:$CI_COMMIT_SHA --quiet --exit-code 1 - trivy image $FORGE_NAME/$CI_REPO:$CI_COMMIT_SHA --quiet --exit-code 1
deploytest: deploytest:
image: portainer/kubectl-shell:latest image: portainer/kubectl-shell:latest