Skip to content

Commit

Permalink
always login to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Scisco committed Oct 29, 2015
1 parent 579a339 commit 0a936a6
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 @@ -19,11 +19,11 @@ deploy:
branch: master

after_deploy:
docker login -e ${DOCKER_EMAIL} -u ${DOCKER_USER} -p ${DOCKER_PASSWORD}
if [ "$TRAVIS_BRANCH" == "master" ]; then
echo "Start Docker Hub Push"
VER=$(python -c "import landsat; print landsat.__version__")
docker build . -t developmentseed/landsat-util:$VER
docker login -e ${DOCKER_EMAIL} -u ${DOCKER_USER} -p ${DOCKER_PASSWORD}
docker push developmentseed/landsat-util:$VER
fi
docker push developmentseed/landsat-util:travis

0 comments on commit 0a936a6

Please sign in to comment.