use $REGISTRY instead of $4 (#3103)

This commit is contained in:
Wassim Dhif 2017-08-22 12:24:34 +02:00 committed by Yan
parent f41d2ff436
commit 70f2865500

View File

@ -99,7 +99,7 @@ set -e
# Login to the registry # Login to the registry
h2 "Login to the Docker registry" h2 "Login to the Docker registry"
DOCKER_LOGIN="docker login --username $USERNAME --password $PASSWORD $4" DOCKER_LOGIN="docker login --username $USERNAME --password $PASSWORD $REGISTRY"
info "docker login --username $USERNAME --password *******" info "docker login --username $USERNAME --password *******"
DOCKER_LOGIN_OUTPUT=$($DOCKER_LOGIN) DOCKER_LOGIN_OUTPUT=$($DOCKER_LOGIN)