Added autodeploy to rancher
This commit is contained in:
parent
c3731adfd0
commit
9ed7f7a272
1 changed files with 11 additions and 0 deletions
11
.drone.yml
11
.drone.yml
|
@ -72,6 +72,17 @@ pipeline:
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
repo: vikunja/frontend
|
repo: vikunja/frontend
|
||||||
auto_tag: true
|
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:
|
when:
|
||||||
event: [ push, tag ]
|
event: [ push, tag ]
|
||||||
branch: [ master ]
|
branch: [ master ]
|
Loading…
Reference in a new issue