Skip to content

Commit

Permalink
fix for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
michilu committed Feb 22, 2017
1 parent 265690b commit 79a3abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ script:
after_success:
# push image
- >
if [ "${TRAVIS_BRANCH}" == "master" ]; then
if [ "${TRAVIS_BRANCH}" == "master" -o -n "${TRAVIS_TAG}" ]; then
docker login -u "${DOCKER_USER}" -p "${DOCKER_PASS}"
docker push ${DOCKER_HUB_REPO}
fi
Expand Down

0 comments on commit 79a3abb

Please sign in to comment.