mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-12 05:24:45 +01:00
use $REGISTRY instead of $4 (#3103)
This commit is contained in:
parent
f41d2ff436
commit
70f2865500
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user