docker-compose build fix
@ -1,10 +1,11 @@
#!/bin/bash
set -e
export TAG="$CIRCLE_BRANCH"
if [ "$CIRCLE_BRANCH" == "master" ]; then
if [ "$CIRCLE_BRANCH" == "master" ];
then
export TAG="latest";
else
export TAG=$(sed 's/#/-/g' <<< $CIRCLE_BRANCH)
fi
docker login --username $DOCKER_USER --password $DOCKER_PASS