Only publish on master/pass branches

This commit is contained in:
Joe Groocock 2017-09-20 00:11:30 +01:00
parent e7e203fc7e
commit 2bc01ff2a0
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -32,7 +32,8 @@ pipeline:
publish:
image: docker
when:
event: [push, tag, deployment]
branch: [ master, pass ]
event: [ push, tag, deployment ]
secrets: [ DOCKER_USER, DOCKER_PASS ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock