From ceeb7f804e5b7d10183bf29a83cedef25d8915fc Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Wed, 25 Jul 2018 21:55:36 -0700 Subject: [PATCH] Fix the deploy script. --- .travis/deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis/deploy.sh b/.travis/deploy.sh index 2e13759..3f00e76 100644 --- a/.travis/deploy.sh +++ b/.travis/deploy.sh @@ -1,7 +1,8 @@ #! /bin/bash -USER=maxking +set -ex +USER=maxking deploy() { URL="$1" @@ -12,7 +13,7 @@ deploy() { docker tag maxking/mailman-web "$URL/maxking/mailman-web:$TAG" docker tag maxking/postorius "$URL/maxking/postorius:$TAG" # Login to the registry and push. - docker login -u "$USER" -p "${PASSWORD}" "$URL" + docker login -u $USER -p $PASSWORD $URL docker push "$URL/maxking/mailman-web:$TAG" docker push "$URL/maxking/mailman-core:$TAG" docker push "$URL/maxking/postorius:$TAG"