PRs updates may cause unwanted PR creation in `docker-library/official-images`
还没有人认领这个 Issue。
- 主要语言
- Dockerfile
- 星标
- 8.6k
- 派生
- 2k
- 平均合并
- 10 小时 19 分钟
- 30 天内合并 PR
- 16
描述
Situation
When Dockerfile-template.* changes are made and Dockerfile updates in the release line directories are also made, then the repo automatically triggers a PR to build a new release. The workflow official-pr is responsible for this.
Unless the update is part of a new release, then Dockerfile updates should generally not be done manually. These updates should be left to the automated processes that are triggered when the repo's automatic-updates.yml polling workflow detects a new Node.js release.
Suggestion
Research the background and add instructions to the CONTRIBUTING document about when Dockerfile updates should be made directly, and when it should be left to automation.
For those cases where no direct Dockerfile update should be included in a PR, describe also how to test such PRs.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
阅读 CONTRIBUTING.md 以及 .github/workflows/official-pr.yml 和 automatic-updates.yml,以了解 Dockerfile 更改何时会触发官方镜像 pull request。更新 CONTRIBUTING.md,加入直接更新的例外情况,以及测试不应包含 Dockerfile 更新的 PR 的说明;完成标准是清楚记录这两种情况。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, dockerfile, github-actions
- 领域
- ci-cd, documentation
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 72/100