Merge pull request #159 from clems4ever/publish-develop-to-docker
Publish 'develop' tag to dockerhubpull/158/head^2
commit
5bac2b75b0
|
@ -31,6 +31,9 @@ function deploy_on_dockerhub {
|
||||||
if [ "$TRAVIS_BRANCH" == "master" ]; then
|
if [ "$TRAVIS_BRANCH" == "master" ]; then
|
||||||
login_to_dockerhub
|
login_to_dockerhub
|
||||||
deploy_on_dockerhub master
|
deploy_on_dockerhub master
|
||||||
|
elif [ "$TRAVIS_BRANCH" == "develop" ]; then
|
||||||
|
login_to_dockerhub
|
||||||
|
deploy_on_dockerhub develop
|
||||||
elif [ ! -z "$TRAVIS_TAG" ]; then
|
elif [ ! -z "$TRAVIS_TAG" ]; then
|
||||||
login_to_dockerhub
|
login_to_dockerhub
|
||||||
deploy_on_dockerhub $TRAVIS_TAG
|
deploy_on_dockerhub $TRAVIS_TAG
|
||||||
|
|
Loading…
Reference in New Issue