fixes to ci for deploy

This commit is contained in:
Wyatt Johnson
2018-03-01 12:46:11 -07:00
parent cc9b030fb3
commit 5f9c6b3b88
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -61,11 +61,11 @@ docker build -t coralproject/talk:latest-onbuild -f Dockerfile.onbuild .
if [ "$1" = "deploy" ]
then
if [[ -n "$DOCKER_EMAIL" && -n "$DOCKER_USER" && -n "$DOCKER_PASS" ]]
if [[ -n "$DOCKER_USER" && -n "$DOCKER_PASS" ]]
then
# Log the Docker Daemon in
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
docker login -u $DOCKER_USER -p $DOCKER_PASS
fi
# deploy based on the env