2.0.0b35
ImageBuildEngine
Package: flyte.extend
ImageBuildEngine contains a list of builders that can be used to build an ImageSpec.
Methods
| Method | Description |
|---|---|
build() |
Build the image. |
build()
def build(
image: Image,
builder: ImageBuildEngine.ImageBuilderType | None,
dry_run: bool,
force: bool,
) -> strBuild the image. Images to be tagged with latest will always be built. Otherwise, this engine will check the registry to see if the manifest exists.
| Parameter | Type | Description |
|---|---|---|
image |
Image |
|
builder |
ImageBuildEngine.ImageBuilderType | None |
|
dry_run |
bool |
Tell the builder to not actually build. Different builders will have different behaviors. |
force |
bool |
Skip the existence check. Normally if the image already exists we won’t build it. :return: |