Skip to content
Snippets Groups Projects
Verified Commit 1760dc1d authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

"Fixing some issues"

parent 6759faa0
No related branches found
Tags 1.1.5
No related merge requests found
Pipeline #17671 passed
......@@ -40,17 +40,18 @@ Docker build:
Deploy to Kubernetes:
stage: deploy
image: alpine
tags: [devteam]
tags: [kszk]
environment:
name: master
script:
before_script:
- chmod 600 $KUBECONFIG
- apk add --no-cache curl
- curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
- chmod +x ./kubectl
- mv ./kubectl /usr/local/bin/kubectl
- kubectl version
script:
- cd k8s
- chmod 600 $KUBECONFIG
- sed -i "s|##IMAGETAG##|${CI_COMMIT_REF_NAME}|" deployment.yml
- kubectl apply -f deployment.yml
only:
......
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