This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
when:
|
||||
event: [tag]
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: plugins/kaniko
|
||||
@@ -11,8 +14,6 @@ steps:
|
||||
password:
|
||||
from_secret: container_registry_password
|
||||
dockerfile: Dockerfile
|
||||
when:
|
||||
- event: tag
|
||||
|
||||
deploy:
|
||||
image: quay.io/wollud1969/k8s-admin-helper:0.3.4
|
||||
@@ -23,7 +24,5 @@ steps:
|
||||
- export IMAGE_TAG=$CI_COMMIT_SHA
|
||||
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
||||
- export KUBECONFIG=/tmp/kubeconfig
|
||||
- ./deployment/deploy.sh
|
||||
when:
|
||||
- event: tag
|
||||
- ./deploy.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user