1
0
mirror of https://github.com/Adam-Ant/nzbget synced 2024-06-14 09:17:23 +00:00
docker-nzbget/.drone.yml

20 lines
642 B
YAML

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:
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 ]