Add drone conditionals, fixes pull requests

This commit is contained in:
Adam Dodman 2017-09-13 23:14:20 +01:00
parent f0e0552053
commit 3c19fea677

View File

@ -34,6 +34,8 @@ pipeline:
publish: publish:
image: docker image: docker
when:
event: [push, tag, deployment]
secrets: [ DOCKER_USER, DOCKER_PASS ] secrets: [ DOCKER_USER, DOCKER_PASS ]
environment: environment:
- DOCKER_HOST=tcp://docker:2375 - DOCKER_HOST=tcp://docker:2375