1
0
mirror of https://github.com/Adam-Ant/nzbget synced 2024-07-06 05:36:16 +00:00
docker-nzbget/.drone.yml

20 lines
642 B
YAML
Raw Normal View History

2018-04-28 13:21:22 +00:00
pipeline:
build:
image: spritsail/docker-build
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
repo: nzbget-dev
# No test step, the upstream should sort that. ffmpeg should work if the build finishes.
publish:
2018-04-28 13:21:22 +00:00
image: spritsail/docker-publish
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
secrets: [ docker_username, docker_password, microbadger_token ]
when: { branch: [ master ], event: [ push, tag, deployment ] }
from: nzbget-dev
repo: adamant/nzbget
notify:
image: spritsail/notify
when: { status: [ success, failure ] }
secrets: [ webhook_url, notify_token ]