Container Source
The Container
source is used for blueprints that are intended to be built as container images and published to image
registries, such as docker.io
.
Requirements
The requirements for running containerized blueprints are available here
Format
The Container
source has the following format:
pub struct ContainerSource {
pub registry: String,
pub image: String,
pub tag: String,
}
Where:
registry
- The registry to pull the image from (e.g.,docker.io
)image
- The name of the image (e.g.,some-user/my-blueprint
)tag
- The release tag of the image (e.g.,latest
)
And they can be specified in the manifest of your binary crate like so:
[package.metadata.blueprint]
sources = [
{ type = "Container", registry = "docker.io", image = "some-user/my-blueprint", tag = "latest" }
]