Only publish on master/pass branches
This commit is contained in:
parent
e7e203fc7e
commit
2bc01ff2a0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user