use kubectl, fix 5
This commit is contained in:
@ -21,7 +21,9 @@ steps:
|
||||
commands:
|
||||
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
||||
- export KUBECONFIG=/tmp/kubeconfig
|
||||
- kubectl get nodes
|
||||
- cd /workspace/deployment
|
||||
- cat deploy-yml.tmpl | sed -e 's,%IMAGE%,gitea.hottis.de/${CI_REPO}:${CI_COMMIT_TAG},' > deploy.yml
|
||||
- cat deploy.yml
|
||||
when:
|
||||
- event: tag
|
||||
|
||||
A
|
||||
|
Reference in New Issue
Block a user