This commit is contained in:
parent
7c74a1dc7d
commit
1007125016
20
.drone.yml
20
.drone.yml
@ -32,14 +32,14 @@ steps:
|
||||
- 'latest'
|
||||
|
||||
|
||||
# deploy to kubernetes
|
||||
- image: 'bitnami/kubectl'
|
||||
name: 'deploy'
|
||||
pull: 'always'
|
||||
environment:
|
||||
KUBE_CONFIG:
|
||||
from_secret: 'kube_config'
|
||||
# deploy to kubernetes
|
||||
- image: 'docker.io/bitnami/kubectl'
|
||||
name: 'deploy'
|
||||
pull: 'always'
|
||||
environment:
|
||||
KUBE_CONFIG:
|
||||
from_secret: 'kube_config'
|
||||
|
||||
commands:
|
||||
- 'echo $KUBE_CONFIG >> $HOME/.kube/config'
|
||||
- 'kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net '
|
||||
commands:
|
||||
- 'echo $KUBE_CONFIG >> $HOME/.kube/config'
|
||||
- 'kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net '
|
||||
|
Loading…
Reference in New Issue
Block a user