Skip to content

fix(release): 固定 v1 镜像通道 - #540

Merged
tbphp merged 1 commit into
v1from
tbphp/v1-image-channel-transition
Sep 3, 2026
Merged

fix(release): 固定 v1 镜像通道#540
tbphp merged 1 commit into
v1from
tbphp/v1-image-channel-transition

Conversation

@tbphp

@tbphp tbphp commented Sep 3, 2026

Copy link
Copy Markdown
Owner

关联 Issue / Related Issue

N/A

变更内容 / Change Content

  • Bug 修复 / Bug fix

  • 新功能 / New feature

  • 其他改动 / Other changes

  • 将 v1 Docker 发布工作流限制为 v1.* Tag;稳定发布生成 :1,不再生成或更新 latest

  • 将 v1 Compose 与三语言 README 的镜像示例固定为 ghcr.io/tbphp/gpt-load:1

  • 将 README 中已经失效的 main 配置下载地址改为 v1 分支

  • 明确说明 v1 用户应固定使用 :1,而 latest 在过渡期后可能指向 v2

本 PR 不创建 Tag、Release 或 Registry 标签。合并后由下一次稳定 v1 发布创建并更新 :1;现有 latest 保持原状。

验证结果:

  • GitHub Actions Workflow YAML 解析通过
  • docker compose --env-file .env.example -f docker-compose.yml config --no-interpolate --quiet 通过
  • v1 镜像标签、分支下载链接与 latest 排除断言通过
  • git diff --check 通过
  • v1 Makefile 不提供 make check 目标,因此未运行该命令

自查清单 / Checklist

  • 我已运行 make check,或在说明中写明无法运行的原因和未验证范围。 / I ran make check, or documented why it could not run and what remains unverified.
  • 本 PR 范围聚焦,未包含无关改动。 / This PR is focused and contains no unrelated changes.
  • 我已更新必要的公开文档或发布说明。 / I updated any required public documentation or release notes.
  • 我已确认提交、日志和测试数据不包含敏感信息。 / I confirmed that commits, logs, and fixtures contain no sensitive data.
  • 如适用,我已说明兼容性或数据迁移影响。 / Where applicable, I documented compatibility or data-migration impact.

Copilot AI lite review requested due to automatic review settings September 3, 2026 09:54
@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • dev
  • v2

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: QUIET

Plan: Team

Run ID: 3754c430-65c7-47dc-b47c-eaa023916d4e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@tbphp tbphp self-assigned this Sep 3, 2026
@tbphp tbphp added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file labels Sep 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The workflow and documentation updates are consistent with the stated v1 tagging policy change and appear correctly applied across the touched files.

Pull request overview

This PR adjusts the v1 release channel so v1 users pin to :1 and v1 releases no longer publish/update latest, while also updating documentation and compose examples to match the new tagging policy.

Changes:

  • Restrict Docker publish workflow triggers to v1.* tags and publish the stable v1 channel tag :1 (with latest disabled).
  • Pin v1 Docker/Compose examples in README (EN/CN/JP) and docker-compose.yml to ghcr.io/tbphp/gpt-load:1.
  • Update README download links to fetch docker-compose.yml and .env.example from the v1 branch and clarify “latest v1” update wording.
File summaries
File Description
README.md Pins Docker image to :1, updates config download links to v1, and clarifies v1 vs latest behavior.
README_CN.md Same as README.md for Chinese documentation.
README_JP.md Same as README.md for Japanese documentation.
docker-compose.yml Pins the compose image tag to ghcr.io/tbphp/gpt-load:1.
.github/workflows/docker-build.yml Limits workflow to v1.* tags and publishes the stable v1 channel tag :1 without latest.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a69ad0c22a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docker-compose.yml
services:
gpt-load:
image: ghcr.io/tbphp/gpt-load:latest
image: ghcr.io/tbphp/gpt-load:1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Publish :1 before making it the default

For deployments made after this commit is merged but before the next stable v1 release, docker compose up will try to pull ghcr.io/tbphp/gpt-load:1 even though the commit description says that tag will only be created by that future release. This makes the newly documented quick-start and Compose installation fail during that interval; publish/backfill :1 before switching the default, or retain the existing tag until the release has completed.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-03T09:56:23.876698Z a69ad0c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tbphp
tbphp merged commit a12882b into v1 Sep 3, 2026
2 checks passed
@tbphp
tbphp deleted the tbphp/v1-image-channel-transition branch September 3, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants