Let Renovate manage pinned Dockerfile tool versions#171
Merged
Conversation
Enable the customManagers:dockerfileVersions preset and annotate the hardcoded _VERSION ARGs so Renovate raises update PRs for them: - base: go-task/task, golangci/golangci-lint (github-releases) - hermes: NousResearch/hermes-agent (github-tags; cloned by tag) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
Brings the three hardcoded tool versions in our guest-image Dockerfiles under Renovate management. Today these are pinned
ARGs consumed bycurl/git clone, so Renovate (bareconfig:recommended) can't see them — they only move when someone notices.TASK_VERSIONv3.48.0v3.51.1go-task/task/ github-releasesGOLANGCI_LINT_VERSIONv2.10.1v2.12.2golangci/golangci-lint/ github-releasesHERMES_VERSIONv2026.4.16v2026.5.29NousResearch/hermes-agent/ github-tagsHow
customManagers:dockerfileVersionspreset inrenovate.json(ships the maintained regex for_VERSIONARG/ENV vars; no hand-rolled regex).# renovate:annotation directly above eachARG. The preset requires the comment immediately above the line and the var name to end in_VERSION— both satisfied.github-tagsrather thangithub-releasesbecause the Dockerfilegit clone --branches a tag.Verified the preset regex against renovate source (accepts unquoted values like ours), confirmed each
depName/datasource resolves against the live repos, and ranrenovate-config-validator(passed).Expected effect
Next Renovate run should open three update PRs for the versions above.
Out of scope (intentionally floating)
wolfi-base:latest,claude.ai/install.sh, thereleases/latest/downloadURLs (codex, opencode),@google/gemini-cli, andgoimports@latestremain unpinned — consistent with the:latest-only, rebuilt-weekly image model. Digest/version pinning those is a separate decision.🤖 Generated with Claude Code