Added rancher deploy to drone

This commit is contained in:
kolaente 2018-09-10 19:24:17 +02:00
parent 0da1bb74e0
commit 5b8cd30736
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 12 additions and 0 deletions

View File

@ -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 ]