Repository navigation
chore(renovate): take Go 1.27 patch releases only for the operator builder - #74
Merged
Merged
Conversation
…ilder golang is the build stage of operator/Dockerfile and never ships. Pinned as golang:1.27@sha256, every rebuild of the official image opened a digest PR even when the Go version and the amd64 image were unchanged (#72 only rebuilt riscv64). Pin the builder to the full Go version, golang:1.27.4, at the current official digest, and stop digest-only updates for golang. Limit golang to 1.27.x, matching `go 1.27.0` in operator/go.mod, so Renovate proposes Go 1.27 patch releases (tag and digest together) and never a new minor. Go 1.27 is supported until Go 1.29 is released, expected August 2027. The move to a new minor is made by hand: the Dockerfile tag, the go line in operator/go.mod and the allowedVersions pattern in renovate.json.
1 task
KFilippopolitis
self-requested a review
December 1, 2026 14:33
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.
golangis only the build stage ofoperator/Dockerfile; the published image is distroless with the compiled binary. Pinned asgolang:1.27@sha256:…, every rebuild of the official image opened a digest PR, even when nothing we build with changed. #72 is an example: same Go 1.27.4, and only thelinux/riscv64image was rebuilt;linux/amd64, the platform the operator is built for, is the same image (sha256:e65b944…) under both digests.Changes
operator/Dockerfile: the builder is pinned to the full Go version,golang:1.27.4@sha256:6c84d96…, the current official digest of that tag (the digest chore(deps): update golang:1.27 docker digest to 6c84d96 #72 proposes). The amd64 build is unchanged.renovate.json:golang: a rebuild of the same Go version changes nothing that ships;golanglimited to1.27.x, matchinggo 1.27.0inoperator/go.mod. Renovate proposes Go 1.27 patch releases (tag and digest together) and no new minor.allowedVersionsrather than disabling minor updates: once 1.28 exists, Renovate's combined minor/patch update points at 1.28, and disabling minor would hide every later 1.27 patch as well.gcr.io/distroless/static:nonrootkeeps its digest updates: it ships, and a new digest is its only update path.Support window
Go 1.27.4 is the latest release. Go supports a release until two newer ones exist, so 1.27 gets security fixes until Go 1.29, expected August 2027. Renovate will not flag that: the move to a new minor is made by hand, in the Dockerfile tag, the
goline inoperator/go.modand theallowedVersionspattern.Supersedes #72.