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