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

22 lines
399 B
YAML

---
kind: 'pipeline'
name: 'build'
type: 'kubernetes'
steps:
# deploy to kubernetes
- image: 'docker.io/bitnami/kubectl'
name: 'deploy'
pull: 'always'
settings:
mtu: '1400'
environment:
KUBE_CONFIG:
from_secret: 'drone_kube_config'
commands:
- 'echo "$KUBE_CONFIG" > $HOME/.kube/config'
- 'kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net'