This commit is contained in:
parent
6fe351e110
commit
3cee043e28
@ -2,7 +2,7 @@ steps:
|
||||
build:
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
repo: ${CI_FORGE_URL}/${CI_REPO}
|
||||
repo: ${FORGE_NAME}/${CI_REPO}
|
||||
registry:
|
||||
from_secret: container_registry
|
||||
tags: latest,${CI_COMMIT_SHA},${CI_COMMIT_TAG}
|
||||
@ -20,7 +20,7 @@ steps:
|
||||
scan_image:
|
||||
image: aquasec/trivy
|
||||
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:
|
||||
image: portainer/kubectl-shell:latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user