fix: 使用 schema2 digest 发布 v0.1 镜像

This commit is contained in:
Codex
2026-05-29 12:59:10 +08:00
parent 6afd73d6cc
commit 86f24789ad
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ Tekton promotion 可以读取 `deploy/deploy.json` 来 render runtime desired st
## Artifact 与镜像身份
- `v0.1` 镜像 tag 使用完整 40 位 source commitId。
- Runtime manifest 必须使用 digest pin 作为部署身份。
- Runtime manifest 必须使用 digest pin 作为部署身份G14 本地 registry 对同一 tag 的默认 HEAD 可能返回 Docker schema1 compatibility digestTekton 必须用 `Accept: application/vnd.docker.distribution.manifest.v2+json` 采集 containerd 可直接拉取的 schema2 manifest digest,并在写入 catalog 前按 digest HEAD 验证
- Catalog 必须记录 lane、source branch、GitOps branch、source commitId、serviceId、image tag、digest、component identity 和 publish/reuse 状态。
- 同一 source commit 对同一 service 应生成同一镜像;lane 差异放在 manifest、env、SecretRef、namespace、RBAC 和 runtime config 中,不 bake 进镜像。
- `deploy/deploy.json` 只承载人写 runtime intent,不承载 digest、publish state 或 reuse evidence。