start.simoncor.net/.drone.yml
Simon Cornet a530d7e2d5
Some checks failed
continuous-integration/drone/push Build is failing
[CI] Specify kubectl version
2023-03-23 11:13:47 +01:00

18 lines
357 B
YAML

---
kind: 'pipeline'
name: 'build'
type: 'kubernetes'
steps:
# deploy to kubernetes
- image: 'docker.io/bitnami/kubectl:1.26.3'
name: 'deploy'
pull: 'always'
secrets: [ kube_config ]
commands:
- echo $${KUBE_CONFIG} > $HOME/.kube/config
- cat $HOME/.kube/config
- kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net