[CI] Added kubernetes deployment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Cornet 2023-05-24 11:29:43 +02:00
parent 1435e698ca
commit c2b4279248

View File

@ -30,3 +30,19 @@ steps:
tags: tags:
- 'v1' - 'v1'
- 'latest' - 'latest'
# deploy to kubernetes
- image: 'docker.io/bitnami/kubectl'
name: 'deploy'
pull: 'always'
settings:
mtu: '1440'
environment:
KUBE_CONFIG:
from_secret: 'drone_kube_config'
commands:
- 'echo "$KUBE_CONFIG" > $HOME/.kube/config'
- 'kubectl -n simoncor-net rollout restart deployment simoncor-net'