build: bind candidate identity to images
ci / verify (push) Canceled after 0s

This commit is contained in:
Codex Local
2026-08-26 06:57:12 +08:00
parent 29bdf4900f
commit e8a6122bd6
8 changed files with 71 additions and 22 deletions
+2
View File
@@ -87,6 +87,8 @@ Set-Location E:\Codex\story\platform
.\scripts\dev.ps1
```
默认本地镜像使用`dev/unknown/unknown`构建标识。需要冻结可追溯候选时,应在构建前设置`PLATFORM_BUILD_VERSION`、40位`PLATFORM_BUILD_COMMIT`和UTC RFC3339格式的`PLATFORM_BUILD_TIME`;Compose会把同一标识写入后端二进制和后端/Web镜像OCI标签,远程CI会根据OpenAPI版本、完整提交和运行时间自动设置并复核这些值。
启动成功后访问:
- Web:<http://localhost:3100>