Skip to content

deps: bump pingcap base image to v1.12.5 - #7106

Open
time-and-fate wants to merge 1 commit into
pingcap:release-1.xfrom
time-and-fate:261023-base-image-1.12.5
Open

time-and-fate wants to merge 1 commit into
pingcap:release-1.xfrom
time-and-fate:261023-base-image-1.12.5

Conversation

@time-and-fate

@time-and-fate time-and-fate commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

What problem does this PR solve?

Bump the ghcr.io/pingcap-qe/bases/pingcap-base base image from v1.12.3 to v1.12.5 (digest-pinned) across the five Dockerfiles that reference it. This is a routine base-image refresh, picking up the latest base image patch release as a follow-up to #7040.

What is changed and how does it work?

No operator code changes. Only the FROM line of five Dockerfiles is updated:

  • cmd/http-service/Dockerfile
  • images/br-federation-manager/Dockerfile
  • images/br-federation-manager/Dockerfile.e2e
  • images/tidb-operator/Dockerfile
  • images/tidb-operator/Dockerfile.e2e

The tag moves v1.12.3 -> v1.12.5 and the digest is re-pinned to the v1.12.5 manifest-list digest (sha256:715150b855957b5a007b006240b2735b3e645c5a471d2391ad9ffa4aafdb93fd), obtained from the ghcr.io registry (anonymous token + Docker-Content-Digest header on the manifest-list media type, same method as #7020). The same digest is pinned by the pending v2 bump #7105.

A release-1.6 counterpart is opened separately (#7107) — independent edit, since the two branches' Dockerfiles are independent and a cherry-pick of a single-line FROM change adds no value over a direct edit.

Code changes

  • Has Go code change
  • Has CI related scripts change

Tests

  • Unit test
  • E2E test
  • Manual test
  • No code

Local verification:

  • git diff shows exactly the five FROM lines changed, nothing else.
  • grep -rn 'v1\.12\.3' across the repo returns no remaining references.
  • The digest matches the v1.12.5 manifest-list digest returned by the ghcr registry, and the same query against v1.12.3 returns the digest previously pinned in these files, confirming the digest type is consistent.

Side effects

  • Breaking backward compatibility
  • Other side effects: base image patch release; no functional change expected. CI image builds will pull the new base layer.

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation

Counterpart PR on release-1.6: #7107.

Release Notes

Bump the pingcap base image to v1.12.5.

Summary by CodeRabbit

  • Chores
    • Updated the container images used by service and operator components, including their end-to-end test images. These updates keep the shipped container environments aligned across the affected components.

@ti-chi-bot
ti-chi-bot Bot requested a review from howardlau1999 October 23, 2026 15:14
@ti-chi-bot

ti-chi-bot Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign gozssky for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 19d55ed1-51c6-480c-9f3d-137a1d4f39af
📥 Commits

Reviewing files that changed from the base of the PR and between ff34b97 and 1fdc0a5.

📒 Files selected for processing: 5
  • cmd/http-service/Dockerfile
  • images/br-federation-manager/Dockerfile
  • images/br-federation-manager/Dockerfile.e2e
  • images/tidb-operator/Dockerfile
  • images/tidb-operator/Dockerfile.e2e

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

📝 Walkthrough

Five Dockerfiles now use pingcap-base:v1.12.5 instead of v1.12.3. Each Dockerfile also updates the pinned image digest.

Changes: Base image updates

Layer / File(s) Summary
Update Dockerfile image pins
cmd/http-service/Dockerfile, images/br-federation-manager/Dockerfile, images/br-federation-manager/Dockerfile.e2e, images/tidb-operator/Dockerfile, images/tidb-operator/Dockerfile.e2e
The five Dockerfiles now pin pingcap-base:v1.12.5 and its updated digest.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: wuhuizuo

Merge Risk: ⚪ Minimal · up to 1fdc0

The image update is consistent across all five Dockerfiles with no identified merge-blocking risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating the PingCAP base image to v1.12.5.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (5 skipped: 5 unsupported.)

✨ Finishing Touches: 💡 1
🧪 Generate unit tests (beta)
  • Create a new PR
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit checks the tags at dawn
Five image pins have moved along
New digests mark the updated trail
The Dockerfiles now share the same tale
I nibble carrots, neat and small.

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

@time-and-fate

Copy link
Copy Markdown
Member Author

/retest

5 similar comments
@time-and-fate

Copy link
Copy Markdown
Member Author

/retest

@time-and-fate

Copy link
Copy Markdown
Member Author

/retest

@time-and-fate

Copy link
Copy Markdown
Member Author

/retest

@time-and-fate

Copy link
Copy Markdown
Member Author

/retest

@liubog2008

Copy link
Copy Markdown
Member

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants