ask for registry url 2
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -587,6 +587,10 @@ if [ ! -f "/etc/user/config/system.json" ]; then
|
||||
|
||||
# Validating previously created vaiables
|
||||
|
||||
if [ "$DOCKER_REGISTRY_URL" != "" ]; then
|
||||
VAR_DOCKER_REGISTRY_URL="--env DOCKER_REGISTRY_URL=$DOCKER_REGISTRY_URL";
|
||||
fi
|
||||
|
||||
if [ "$SMARTHOST_PROXY" != "" ]; then
|
||||
VAR_SMARTHOST_PROXY="--env SMARTHOST_PROXY=$SMARTHOST_PROXY";
|
||||
fi
|
||||
@@ -627,6 +631,7 @@ if [ ! -f "/etc/user/config/system.json" ]; then
|
||||
# Run installer tool
|
||||
|
||||
$SUDO_CMD docker run \
|
||||
$VAR_DOCKER_REGISTRY_URL \
|
||||
$VAR_SMARTHOST_PROXY \
|
||||
$VAR_LOCAL_PROXY \
|
||||
$VAR_VPN_PROXY \
|
||||
|
Reference in New Issue
Block a user