Skip to content
Snippets Groups Projects
Commit 84bae9aa authored by Maxim Morev's avatar Maxim Morev
Browse files

Добавлен шаг kubectl

parent f82f6e18
Tags 0.0.1-RC8
1 merge request!1Feature/adsvanced books
Pipeline #58 passed with stages
in 49 seconds
......@@ -40,7 +40,7 @@ deploy:
- ls -l
- kubectl config get-contexts
- kubectl config use-context k8s.codemonsters.team
- TAG=$CI_COMMIT_TAG && sed -i 's|${CI_REGISTRY_IMAGE}:tagname|${CI_REGISTRY_IMAGE}:'${TAG}'|' k8s-deployment.yaml
- TAG=$CI_COMMIT_TAG && sed -i "s/:tagname/:${TAG}/g" k8s-deployment.yaml
- kubectl apply -f k8s-deployment.yaml
dependencies:
- build
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment