Skip to main content

Image-build manifest reference

An image-build YAML file describes source in a storage volume and the registry destination:

volume: default
dockerfilePath: builds/demo/Dockerfile
contextPath: builds/demo
image:
repository: demo/hello
tag: v1
buildArgs:
MODEL_VARIANT: small
FieldRequiredRules
volumeNoDefaults to default; the volume must already exist.
dockerfilePathYesRelative path to a file in the volume.
contextPathYesRelative path to a directory in the volume.
image.repositoryYesLowercase tenant-relative repository path without a registry hostname.
image.tagYesA 1–128 character registry tag.
buildArgsNoString values only; never use for secrets.

image.repository is relative to your tenant. For Tenant ID tenant-a, the example destination produces this fully qualified image:

registry.dphi.space/tenant-a/demo/hello:v1

The successful build response includes that value in its image field. Use the complete value in a workload specification. Do not add tenant-a to the build manifest's repository field; OmniCloud adds it automatically.

See the rendered successful build for the image and digest fields as the CLI displays them.

Paths can use letters, numbers, ., _, /, and -, must not contain .., and are limited to 512 characters. The repository is limited to 255 characters. Unknown fields are rejected.

Build-argument names containing words such as password, secret, token, or credential are rejected. This check is a safeguard, not a secret-storage mechanism.