将成功的构建提升到另一个工作区。
Synopsis
将成功的构建镜像提升到另一个工作区,而无需重新构建。
<source_build_id> 指定源构建;平台会在当前组织内解析它。--workspace、--context 和显式目标标志用于选择目标工作区。
除非传递 --yes,否则非交互式 shell 将失败。--force 会绕过成功部署验证门,并需要目标 Project Owner 角色。
例子:
agentengine build promote bld_abc123 --workspace prodagentengine build promote bld_abc123 --context prodagentengine build promote <source_build_id> [flags]选项
--base-url string Platform base URL --context string Named context to target (see 'agentengine context list') --force Bypass the successful-deploy proof gate (target project owner role required)-h, --help help for promote --json Output promotion result as JSON --org-id string Organization ID --project-id string Project ID --workspace string Monorepo: select a destination workspace by name (from root agent.yaml) --workspace-id string Workspace ID-y, --yes Skip the interactive confirmation prompt从父命令继承的选项
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)另请参阅
agentengine 构建 - 在平台上包并构建代理镜像。
agentengine 构建 promote get - 获取构建提升状态。