build: add OCI release identity labels
This commit is contained in:
@@ -27,7 +27,7 @@ docker build --platform linux/amd64 \
|
||||
-t registry.example/orbit:1.0.0 .
|
||||
```
|
||||
|
||||
节点启动后通过 `GET /version` 核对这些值。`registry.example` 只是占位符,不是平台依赖。
|
||||
镜像同时写入 OCI `org.opencontainers.image.version`、`org.opencontainers.image.revision` 和 `org.opencontainers.image.created` 标签;可以先核对标签,再在节点启动后通过 `GET /version` 核对进程实际使用的值。`registry.example` 只是占位符,不是平台依赖。
|
||||
|
||||
## 2. 迁移、核验和启动
|
||||
|
||||
|
||||
Reference in New Issue
Block a user