@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.
Files changed (2) hide show
  1. package/AGENTS.base.md +2 -1
  2. package/package.json +1 -1
package/AGENTS.base.md CHANGED
@@ -106,7 +106,8 @@
106
106
 
107
107
  ## Docker 镜像构建规范
108
108
 
109
- - 流水线中的镜像构建必须先在本地使用 `docker build` 完成构建和验证,确认构建成功后再推送到远程仓库。
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routerhub/agent-rules",
3
- "version": "1.4.6",
3
+ "version": "1.4.7",
4
4
  "description": "Shared Copilot agent rules and guidelines for RouterHub projects",
5
5
  "main": "AGENTS.base.md",
6
6
  "bin": {