持续交付
参数 | 数据类型 | 是否必填 | 默认值 | 说明 |
参数 | 数据类型 | 是否必填 | 默认值 | 说明 |
region | string | 是 | - | 镜像仓库所在的地域。 |
registryInstance | string | 是 | - | 镜像仓库实例。 |
namespace | string | 是 | - | 镜像仓库的命名空间。 |
repo | string | 是 | - | 仓库名称。 |
tag | string | 是 | - | 镜像标签。 |
dockerfiles | object | 是 | - | Dockerfile 的来源。通过 default.path 指定文件路径,或通过 default.content 指定内联内容。 |
contextPath | string | 是 | . | Docker 构建上下文的相对路径。 |
compression | enum | 否 | gzip | 镜像压缩算法,可选 gzip、zstd。 |
useCache | boolean | 否 | - | 是否使用缓存加速镜像构建。
|
disableSSLVerify | boolean | 否 | - | 是否禁用 SSL 证书验证。
|
buildParams | string | 否 | - | 支持指定 --build-arg、--target 等 docker build 相关参数。 |
参数 | 数据类型 | 是否必填 | 默认值 | 说明 |
参数 | 数据类型 | 是否必填 | 默认值 | 说明 |
customImageAddress.protocol | enum | 是 | https | 仓库地址协议,可选 http、https。 |
customImageAddress.address | string | 是 | - | 完整的镜像地址,格式为 host/repo:tag。 |
loginCredential | list | 否 | - | 访问自定义仓库的凭据,使用服务连接。 |
dockerfiles | object | 是 | - | Dockerfile 来源,通过 default.path 或 default.content 指定。 |
contextPath | string | 是 | - | 构建上下文路径。 |
compression | enum | 否 | gzip | 压缩算法,可选 gzip、zstd。 |
useCache | boolean | 否 | - | 是否使用缓存加速镜像构建。
|
disableSSLVerify | boolean | 否 | - | 是否禁用 SSL 证书验证。
|
buildParams | string | 否 | - | 支持指定 --build-arg、--target 等 docker build 相关参数。 |