fix: if they're not missing, run this
This commit is contained in:
		| @ -64,7 +64,7 @@ output_versions(){ | |||||||
| run_stack_deploy() { | run_stack_deploy() { | ||||||
|   echo "--- start deploy ---" |   echo "--- start deploy ---" | ||||||
|  |  | ||||||
|   if [[ -z "${PLUGIN_REG_USER}" ]] && [[ -z "${PLUGIN_REG_PASS}" ]]; then |   if [[ ! -z "${PLUGIN_REG_USER}" ]] && [[ ! -z "${PLUGIN_REG_PASS}" ]]; then | ||||||
|     echo "--- discovered secrets, assuming private registry, logging in ---" |     echo "--- discovered secrets, assuming private registry, logging in ---" | ||||||
|     docker login -u "${PLUGIN_REG_USER}" -p "${PLUGIN_REG_PASS}" |     docker login -u "${PLUGIN_REG_USER}" -p "${PLUGIN_REG_PASS}" | ||||||
|     docker -H "$REMOTE_DOCKER_HOST" stack deploy -c "$PLUGIN_COMPOSE" "$PLUGIN_STACK" |     docker -H "$REMOTE_DOCKER_HOST" stack deploy -c "$PLUGIN_COMPOSE" "$PLUGIN_STACK" | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user