use kubectl, fix 5

This commit is contained in:
2023-11-17 16:16:26 +01:00
parent f6b0061f10
commit 040964998d
2 changed files with 4 additions and 52 deletions

View File

@ -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