Only publish on master/pass branches
This commit is contained in:
parent
e7e203fc7e
commit
2bc01ff2a0
@ -32,7 +32,8 @@ pipeline:
|
|||||||
publish:
|
publish:
|
||||||
image: docker
|
image: docker
|
||||||
when:
|
when:
|
||||||
event: [push, tag, deployment]
|
branch: [ master, pass ]
|
||||||
|
event: [ push, tag, deployment ]
|
||||||
secrets: [ DOCKER_USER, DOCKER_PASS ]
|
secrets: [ DOCKER_USER, DOCKER_PASS ]
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
Loading…
Reference in New Issue
Block a user