From f8700851d5f7d76ae6fffb78c454fc492cfcdf96 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Thu, 23 Mar 2023 11:09:11 +0100 Subject: [PATCH] [CI] Specify kubectl version --- .drone.yml | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/.drone.yml b/.drone.yml index e349637..9b064b8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 '