@routerhub/agent-rules 1.4.5 → 1.4.6

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.
Files changed (2) hide show
  1. package/AGENTS.base.md +6 -0
  2. package/package.json +1 -1
package/AGENTS.base.md CHANGED
@@ -104,6 +104,12 @@
104
104
  - 每次完成需求修改后,必须先打开一个新终端执行 `npm run build`。
105
105
  - 若构建报错,必须先修复所有错误并重新执行构建直至通过,再进行发版操作。
106
106
 
107
+ ## Docker 镜像构建规范
108
+
109
+ - 流水线中的镜像构建必须先在本地使用 `docker build` 完成构建和验证,确认构建成功后再推送到远程仓库。
110
+ - 镜像推送目标统一使用 GitHub Container Registry(`ghcr.io`),禁止推送到其它公共镜像仓库(如 Docker Hub)除非项目私有规则另有声明。
111
+ - 推送前必须确保镜像已正确打 tag(如 `ghcr.io/<org>/<image>:<version>`),禁止推送 `latest` 以外无语义的标签。
112
+
107
113
  ## Browser MCP 集成规则(tag: browser-mcp)
108
114
 
109
115
  - 已集成 Browser MCP(Model Context Protocol)工具,支持在对话中自动查看和分析浏览器内容。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routerhub/agent-rules",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Shared Copilot agent rules and guidelines for RouterHub projects",
5
5
  "main": "AGENTS.base.md",
6
6
  "bin": {