build_images
Build the images for the given environment.
def build_images(
envs: Environment,
copy_style: CopyFiles = loaded_modules
) - > ImageCache
Build the images for the given environment.
Parameters
| Name | Type | Description |
|---|---|---|
| envs | Environment | Environment to build images for. |
| copy_style | CopyFiles = loaded_modules | Copy style that the eventual deploy will use. Must match the deploy's --copy-style so the image content hashes — and therefore the registry tags — line up, letting deploy reuse the pre-built image. |
Returns
| Type | Description |
|---|---|
ImageCache | ImageCache containing the built images. |