[cherry-pick: release-v0.28.x] fix(release): bump pinned ko image for go 1.26.4#1784
Merged
Merged
Conversation
The pinned ko/koparse images in release/publish.yaml baked in Go 1.26.3, but go.mod requires go 1.26.4, causing patch-release ko resolve to fail with GOTOOLCHAIN=local. Bump both image digests to versions shipping Go 1.26.4, and add a docker dependabot ecosystem for /release so pinned image digests stay in sync automatically, matching tektoncd/pipeline's approach. Assisted-by: Claude Sonnet 5 (via Cursor) Signed-off-by: Jawed khelil <jkhelil@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
6 tasks
Member
|
/retest |
Contributor
|
/lgtm |
infernus01
approved these changes
Jul 9, 2026
Member
|
/approve |
Author
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: infernus01, jkhelil The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a cherry-pick of #1778
Changes
The patch-release pipeline runs
ko resolveinside the pinnedghcr.io/tektoncd/plumbing/koimage, which bakes in a specific Gotoolchain.
go.modrequiresgo 1.26.4, but the pinnedkoimage inrelease/publish.yamlstill shippedGOLANG_VERSION=1.26.3. SinceGOTOOLCHAIN=local,ko resolverefused to auto-fetch the newertoolchain and the release failed with:
This mirrors how
tektoncd/pipelineavoids this class of failure: ithas a
dockerDependabot ecosystem entry for its/tektondirectorythat keeps the pinned
ko/koparseimage digests continuouslyup to date. Chains had no such entry, so the pinned digests could
silently drift behind
go.mod.koandkoparseimage digests inrelease/publish.yamltoversions shipping
GOLANG_VERSION=1.26.4(verified viacrane config).dockerpackage-ecosystem entry for/releasein.github/dependabot.config.ymland regenerate.github/dependabot.ymlvia./hack/generate-dependabot.sh, soDependabot keeps these pinned image digests in sync with
go.modgoing forward.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes
Made with Cursor