[CI] Specify kubectl version
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon Cornet 2023-03-23 11:09:11 +01:00
parent ce8db2117f
commit f8700851d5

View File

@ -5,33 +5,6 @@ type: 'kubernetes'
steps:
# build and publish
- image: 'plugins/docker'
name: 'publish'
pull: 'always'
settings:
# registery and repos
registry: 'docker.io'
repo: 'rakepanorama/start-simoncor-net'
mtu: '1400'
# build stuff
dockerfile: 'Dockerfile.linux.amd64'
daemon_off: 'false'
# authentication
username:
from_secret: 'docker_username'
password:
from_secret: 'docker_password'
# tags
tags:
- 'v1.0'
- 'latest'
# deploy to kubernetes
- image: 'docker.io/bitnami/kubectl:1.26.3'
name: 'deploy'
@ -42,4 +15,5 @@ steps:
commands:
- 'echo $KUBE_CONFIG > $HOME/.kube/config'
- 'cat $HOME/.kube/config'
- 'kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net '