Only publish on master/pass branches
This commit is contained in:
parent
2c31308077
commit
50346c96a0
@ -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