config drone
This commit is contained in:
parent
2111ca2fa5
commit
81a0318617
19
.drone.yml
19
.drone.yml
|
@ -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 ]
|
||||
|
|
Reference in New Issue