Added autodeploy to rancher

This commit is contained in:
konrad 2018-09-09 19:57:27 +02:00
parent c3731adfd0
commit 9ed7f7a272
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 11 additions and 0 deletions

View File

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