Simon Cornet
81e8486391
Some checks reported errors
continuous-integration/drone/push Build encountered an error
19 lines
376 B
YAML
19 lines
376 B
YAML
---
|
|
kind: 'pipeline'
|
|
name: 'build'
|
|
type: 'kubernetes'
|
|
|
|
steps:
|
|
|
|
# deploy to kubernetes
|
|
- image: 'docker.io/bitnami/kubectl:1.26.3'
|
|
name: 'deploy'
|
|
pull: 'always'
|
|
environment:
|
|
- KUBE_CONFIG: ${KUBE_CONFIG}
|
|
|
|
commands:
|
|
- echo $KUBE_CONFIG > $HOME/.kube/config
|
|
- cat $HOME/.kube/config
|
|
- kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net
|