fix
This commit is contained in:
@@ -7,19 +7,20 @@ steps:
|
|||||||
from_secret: local_registry
|
from_secret: local_registry
|
||||||
tags: latest,${CI_COMMIT_TAG}
|
tags: latest,${CI_COMMIT_TAG}
|
||||||
username:
|
username:
|
||||||
from_secret: local_password
|
|
||||||
password:
|
|
||||||
from_secret: local_username
|
from_secret: local_username
|
||||||
|
password:
|
||||||
|
from_secret: local_password
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
|
|
||||||
scan_image:
|
scan_image:
|
||||||
image: aquasec/trivy
|
image: aquasec/trivy
|
||||||
commands:
|
commands:
|
||||||
- trivy image $FORGE_NAME/$CI_REPO:$CI_COMMIT_TAG --quiet --exit-code 1
|
- trivy image $FORGE_NAME/$CI_REPO:$CI_COMMIT_TAG --quiet --exit-code 1
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: quay.io/wollud1969/k8s-admin-helper:0.4.1
|
image: quay.io/wollud1969/k8s-admin-helper:0.4.1
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user