Skip to main content

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

NameTypeDescription
envsEnvironmentEnvironment to build images for.
copy_styleCopyFiles = loaded_modulesCopy 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

TypeDescription
ImageCacheImageCache containing the built images.