From ecb88c32e4d09191ca51bf5a5f2ba94a7c76ca1d Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Sun, 5 Nov 2017 19:33:48 -0800 Subject: [PATCH] Use $TAG to push. --- .travis/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/deploy.sh b/.travis/deploy.sh index bd89d78..5b0f4be 100644 --- a/.travis/deploy.sh +++ b/.travis/deploy.sh @@ -5,8 +5,8 @@ deploy() { REG_USER=${REGISTRY}_USER REG_PASS=${REGISTRY}_PASS docker login -u ${!REG_USER} -p ${!REG_PASS} ${!REG_URL} - docker push ${!REG_URL}/maxking/mailman-web:$1 - docker push ${!REG_URL}/maxking/mailman-core:$1 + docker push ${!REG_URL}/maxking/mailman-web:$TAG + docker push ${!REG_URL}/maxking/mailman-core:$TAG } if [ ! "$BRANCH" = "master" ] && [ "$PULL_REQUEST" ]; then