added drone

This commit is contained in:
konrad 2018-09-22 22:44:43 +02:00
parent a9ca99488c
commit 0f8aae642a
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 32 additions and 0 deletions

32
.drone.yml Normal file
View File

@ -0,0 +1,32 @@
workspace:
path: /src
clone:
git:
image: plugins/git
depth: 50
tags: true
pipeline:
docker:
image: plugins/docker
pull: true
insecure: true
secrets: [ docker_username, docker_password ]
repo: vikunja/website
tags: [ 'latest' ]
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-website/web
docker_image: vikunja/website
confirm: true
when:
event: [ push, tag ]