#!/bin/sh
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
if [ "$TRAVIS_BRANCH" = "master" ]; then
    TAG="latest"
else
    TAG="$TRAVIS_BRANCH"
fi
docker build -f Dockerfile -t buzzgenerator:$TAG .   #$TRAVIS_REPO_SLUG
docker push $TRAVIS_REPO_SLUG
#!/bin/sh
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
if [ "$TRAVIS_BRANCH" = "master" ]; then
    TAG="latest"
else
    TAG="$TRAVIS_BRANCH"
fi
docker build -f Dockerfile -t buzzgenerator:$TAG .   #$TRAVIS_REPO_SLUG
docker push buzzgenerator #$TRAVIS_REPO_SLUG
Fix for uppercase docker bug
Fix for uppercase docker bug
