Builds the agent image for a service.
The command must be executed within the service directory. That is, a directory containing the service configuration file (
service.yaml). Labels for images generated using this command will follow the format
To build an image for a specific agent without fetching a service, run
autonomy build-image PUBLIC_ID_OR_HASH
PUBLIC_ID_OR_HASHrefers to the agent public ID or hash as stored in a local or remote repository.
autonomy build-image [OPTIONS] [PUBLIC_ID_OR_HASH]
- Path to service directory.
- Specify tag version for the image.
- Build development image.
- Pull latest dependencies.
- Show the help message and exit.
autonomy build-image --service-dir /my_service
Builds the agent images for the service located in the directory