Skip to content

[cherry-pick: release-v0.28.x] fix(release): bump pinned ko image for go 1.26.4#1784

Merged
tekton-robot merged 1 commit into
release-v0.28.xfrom
cherry-pick-1778-to-release-v0.28.x
Jul 9, 2026
Merged

[cherry-pick: release-v0.28.x] fix(release): bump pinned ko image for go 1.26.4#1784
tekton-robot merged 1 commit into
release-v0.28.xfrom
cherry-pick-1778-to-release-v0.28.x

Conversation

@tekton-robot

Copy link
Copy Markdown

This is a cherry-pick of #1778


Changes

The patch-release pipeline runs ko resolve inside the pinned
ghcr.io/tektoncd/plumbing/ko image, which bakes in a specific Go
toolchain. go.mod requires go 1.26.4, but the pinned ko image in
release/publish.yaml still shipped GOLANG_VERSION=1.26.3. Since
GOTOOLCHAIN=local, ko resolve refused to auto-fetch the newer
toolchain and the release failed with:

go: go.mod requires go >= 1.26.4 (running go 1.26.3; GOTOOLCHAIN=local)

This mirrors how tektoncd/pipeline avoids this class of failure: it
has a docker Dependabot ecosystem entry for its /tekton directory
that keeps the pinned ko/koparse image digests continuously
up to date. Chains had no such entry, so the pinned digests could
silently drift behind go.mod.

  • Bump ko and koparse image digests in release/publish.yaml to
    versions shipping GOLANG_VERSION=1.26.4 (verified via
    crane config).
  • Add a docker package-ecosystem entry for /release in
    .github/dependabot.config.yml and regenerate
    .github/dependabot.yml via ./hack/generate-dependabot.sh, so
    Dependabot keeps these pinned image digests in sync with go.mod
    going forward.

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs included if any changes are user facing
  • Has Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including
    functionality, content, code)
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

Made with Cursor

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>
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 9, 2026
@jkhelil

jkhelil commented Jul 9, 2026

Copy link
Copy Markdown
Member

/retest

@anithapriyanatarajan

Copy link
Copy Markdown
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 9, 2026
@jkhelil

jkhelil commented Jul 9, 2026

Copy link
Copy Markdown
Member

/approve

@tekton-robot

Copy link
Copy Markdown
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

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 9, 2026
@tekton-robot tekton-robot merged commit 84922cb into release-v0.28.x Jul 9, 2026
24 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants