diff --git a/.drone.yml b/.drone.yml index 652d70d..22b2353 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,14 +6,12 @@ type: 'kubernetes' steps: # deploy to kubernetes -- image: 'docker.io/bitnami/kubectl:1.26.3' +- image: 'docker.io/bitnami/kubectl' name: 'deploy' pull: 'always' - environment: - DRONE_KUBECONFIG: - from_secret: 'drone_kube_config' commands: - - echo $DRONE_KUBECONFIG > $HOME/.kube/config + - echo $GITEA_KUBE_CONFIG > $HOME/.kube/config - cat $HOME/.kube/config + - env - kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net