Added rancher deploy to drone

This commit is contained in:
kolaente 2018-09-10 19:24:17 +02:00
parent 0da1bb74e0
commit 5b8cd30736
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

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 ]