🔧 Tag docker image so that it can be pushed to dockerhub

This commit is contained in:
Guillaume Jacquenot 2019-12-22 23:58:40 +01:00
parent bae840f240
commit f77c926ee5

View File

@ -20,6 +20,7 @@ after_script:
after_success: after_success:
- if [[ "$TRAVIS_BRANCH" == "master" ]]; - if [[ "$TRAVIS_BRANCH" == "master" ]];
then then
docker tag overv/openstreetmap-tile-server gjacquenot/openstreetmap-tile-server ;
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD ; docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD ;
docker push gjacquenot/openstreetmap-tile-server ; docker push gjacquenot/openstreetmap-tile-server ;
fi fi