Docs needs updating: space-cli add registry disappeared
Version: 0.20.0
Add a add-on to the environment
Usage:
space-cli add [command]
Available Commands:
database Add a database
Flags:
-h, --help help for add
Global Flags:
--log-level string Sets the log level of the command (default "info")
--project string The project id to perform the options in
Use "space-cli add [command] --help" for more information about a command.
Version 0.19.5:
Add a add-on to the environment
Usage:
space-cli add [command]
Available Commands:
database Add a database
registry Add a docker registry
Flags:
-h, --help help for add
Global Flags:
--log-level string Sets the log level of the command (default "info")
--project string The project id to perform the options in
Use "space-cli add [command] --help" for more information about a command.
What's a temporary fix for this.. I need it as soon as possible... The docs are a bit inconsistent with these changes.
See https://docs.spaceuptech.com/microservices/deployments/deploy-custom-code/
Before we can deploy our service, we need to make sure that you have configured your Space Cloud project for which container registry to publish the docker images to.
If you are using the Docker setup of Space Cloud, then space-cli has a built-in command to spin up a container registry at localhost:5000 for you and configure Space Cloud to publish images to this registry. Here’s the command to do it:space-cli --project <project-id> add registry
Thanks for pointing it out. Will update it