From 5b8cd30736ee4411f331bdb5d15d74ad790cae8a Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 10 Sep 2018 19:24:17 +0200 Subject: [PATCH] Added rancher deploy to drone --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index d6080c4e8b..03f63df0da 100644 --- a/.drone.yml +++ b/.drone.yml @@ -140,6 +140,18 @@ pipeline: secrets: [ docker_username, docker_password ] repo: vikunja/api auto_tag: true + when: + event: [ push, tag ] + branch: [ master ] + +# Update the instance on try.vikunja.io + rancher: + image: peloton/drone-rancher + url: http://server01.kolaente.de:8080/v1 + secrets: [ RANCHER_ACCESS_KEY, RANCHER_SECRET_KEY ] + service: vikunja-dev/api + docker_image: vikunja/api + confirm: true when: event: [ push, tag ] branch: [ master ] \ No newline at end of file