delimit_deploy_build
Builds container images for an app at a given git ref, as the second step in the deploy chain after planning and before publishing to the registry.
Instructions
Build container images for an app at a specific git ref (Pro).
When to use: as the second step of the deploy chain after delimit_deploy_plan has succeeded and you need SHA-tagged container images locally before delimit_deploy_publish pushes them to the registry. The full chain is plan -> build -> publish -> verify -> (rollback on failure). When NOT to use: to push existing images to a registry (use delimit_deploy_publish), to deploy a site (delimit_deploy_site), to publish an npm package (delimit_deploy_npm), or to start the full chain (delimit_deploy_plan).
Sibling contrast: deploy_plan plans, this builds local images, deploy_publish pushes to the registry, deploy_verify checks rollout health, deploy_rollback reverts. Compared to delimit_deploy_site (static-site deploy) and delimit_deploy_npm (npm publish), this is the container path.
Side effects: gated by require_premium — unlicensed callers receive a license payload and no build runs. On a licensed call, invokes backends.deploy_bridge.build which shells out to the local container builder (e.g. docker buildx) — this consumes local disk for image layers and CPU for the build. No network push at this step (that is delivery_publish). The response is routed through _with_next_steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Application name (project key in the deploy backend). | |
| git_ref | No | Git ref (branch/tag/SHA). Default None = backend HEAD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||