@routerhub/agent-rules 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.base.md +2 -1
- package/package.json +1 -1
package/AGENTS.base.md
CHANGED
|
@@ -106,7 +106,8 @@
|
|
|
106
106
|
|
|
107
107
|
## Docker 镜像构建规范
|
|
108
108
|
|
|
109
|
-
-
|
|
109
|
+
- **所有镜像构建(包括部署测试环境、生产环境等)必须默认在本地使用 `docker build` 构建**,不需要询问用户选择构建方式,直接执行本地构建。
|
|
110
|
+
- 本地构建成功后,使用 `docker push` 推送到远程镜像仓库,不得跳过本地构建直接在远程构建。
|
|
110
111
|
- 镜像推送目标统一使用 GitHub Container Registry(`ghcr.io`),禁止推送到其它公共镜像仓库(如 Docker Hub)除非项目私有规则另有声明。
|
|
111
112
|
- 推送前必须确保镜像已正确打 tag(如 `ghcr.io/<org>/<image>:<version>`),禁止推送 `latest` 以外无语义的标签。
|
|
112
113
|
|