From 9ed7f7a27280fdc5376c8cd64ef9731975f9cee3 Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 9 Sep 2018 19:57:27 +0200 Subject: [PATCH] Added autodeploy to rancher --- .drone.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.drone.yml b/.drone.yml index f74b3e23..a58fe9c1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -72,6 +72,17 @@ pipeline: secrets: [ docker_username, docker_password ] repo: vikunja/frontend auto_tag: true + when: + event: [ push, tag ] + branch: [ master ] + + rancher: + image: peloton/drone-rancher + url: http://server01.kolaente.de:8080/v1 + secrets: [ RANCHER_ACCESS_KEY, RANCHER_SECRET_KEY ] + service: vikunja-dev/frontend + docker_image: vikunja/frontend + confirm: true when: event: [ push, tag ] branch: [ master ] \ No newline at end of file