ci script

This commit is contained in:
Wolfgang Hottgenroth 2024-11-26 09:44:12 +01:00
parent 6babb7c6db
commit 1f1875cc50
Signed by: wn
GPG Key ID: 18FDFA577A8871AD

14
.woodpecker.yml Normal file
View File

@ -0,0 +1,14 @@
steps:
deploy:
image: portainer/kubectl-shell:latest
secrets:
- source: kube_config
target: KUBE_CONFIG_CONTENT
commands:
- export IMAGE_TAG=$CI_COMMIT_TAG
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
- export KUBECONFIG=/tmp/kubeconfig
- ./deployment/deploy.sh
when:
- event: tag