This commit is contained in:
parent
515657b1fd
commit
7429d4a4f0
@ -2,7 +2,7 @@ steps:
|
|||||||
build:
|
build:
|
||||||
image: plugins/kaniko
|
image: plugins/kaniko
|
||||||
settings:
|
settings:
|
||||||
repo: gitea.hottis.de/moerp/elo-rezept-rechner
|
repo: ${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}
|
||||||
@ -19,10 +19,8 @@ steps:
|
|||||||
|
|
||||||
scan_image:
|
scan_image:
|
||||||
image: aquasec/trivy
|
image: aquasec/trivy
|
||||||
environment:
|
|
||||||
- IMAGE_NAME=gitea.hottis.de/moerp/elo-rezept-rechner
|
|
||||||
commands:
|
commands:
|
||||||
- trivy image $IMAGE_NAME:$CI_COMMIT_SHA --quiet --exit-code 1
|
- trivy image $CI_REPO:$CI_COMMIT_SHA --quiet --exit-code 1
|
||||||
|
|
||||||
deploytest:
|
deploytest:
|
||||||
image: portainer/kubectl-shell:latest
|
image: portainer/kubectl-shell:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user