config drone

This commit is contained in:
Dryusdan 2017-11-13 23:30:21 +00:00
parent 2111ca2fa5
commit 81a0318617
1 changed files with 6 additions and 13 deletions

View File

@ -1,19 +1,12 @@
pipeline:
build:
image: plugins/docker
repo: registry.dryusdan.fr/dryusdan/peertube
registry: registry.dryusdan.fr
action: build
tags:
- latest
repo: registry.dryusdan.fr/dryusdan/peertube
secrets: [ docker_username, docker_password ]
push:
image: xataz/docker-drone-plugin
repo: registry.dryusdan.fr/dryusdan/peertube
registry: registry.dryusdan.fr
username: $PRIVATE_LOGIN
password: $PRIVATE_PASSWORD
action: push
when:
branch: master
event: [push, tag, deployment]
image: appleboy/drone-git-push
branch: master
remote: git@github.com:Dryusdan/docker-peertube.git
secrets: [ git_push_ssh_key ]