Only publish on master/pass branches

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

View File

@ -32,6 +32,7 @@ pipeline:
publish: publish:
image: docker image: docker
when: when:
branch: [ master, pass ]
event: [ push, tag, deployment ] event: [ push, tag, deployment ]
secrets: [ DOCKER_USER, DOCKER_PASS ] secrets: [ DOCKER_USER, DOCKER_PASS ]
volumes: volumes: