Skip to content
Snippets Groups Projects
Commit 6706ff77 authored by Marco Lorini's avatar Marco Lorini
Browse files

2021-03-26 ML: CI/CD - create .kube directory in deploy stage

parent 38161208
No related branches found
No related tags found
No related merge requests found
......@@ -80,6 +80,7 @@ deploy:
only:
- master
before_script:
- mkdir .kube/
- echo -n $KUBE_CONFIG | base64 -d > .kube/config
script:
- kubectl --kubeconfig .kube/config --namespace $KUBE_NAMESPACE set image deployment/$KUBE_DEPLOYMENT $KUBE_CONTAINER=$CI_REGISTRY/$CI_REGISTRY_IMAGE:$CI_REGISTRY_IMAGE_TAG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment