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.
|
2018-04-28 13:33:50 +00:00
|
|
|
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 ]
|