Skip to content

Commit

Permalink
Update deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Warchant committed Jan 26, 2017
1 parent 5efc068 commit a62f02b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi


if [[ ! -e ~/.docker/config.json ]]; then
expect -c "\
expect -c '\
set timeout 5
spawn docker login
expect "Username:*"
Expand All @@ -18,7 +18,7 @@ if [[ ! -e ~/.docker/config.json ]]; then
expect "Email:*"
send -- "$env(DOCKER_EMAIL)\r"
expect "*WARNING:*Login Succeeded*"
expect eof" 1>/dev/null || exit 1
expect eof' 1>/dev/null || exit 1
fi

docker push $1

0 comments on commit a62f02b

Please sign in to comment.