make sure travis builds the correct docker tag
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_BRANCH}" = "docker" ]
then
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t wikipedialibrary/twlight:latest .
+ docker build -t wikipedialibrary/twlight:${TRAVIS_BRANCH} .
fi
