Skip to content

Let Renovate manage pinned Dockerfile tool versions#171

Merged
JAORMX merged 1 commit into
mainfrom
renovate-dockerfile-versions
May 29, 2026
Merged

Let Renovate manage pinned Dockerfile tool versions#171
JAORMX merged 1 commit into
mainfrom
renovate-dockerfile-versions

Conversation

@JAORMX
Copy link
Copy Markdown
Contributor

@JAORMX JAORMX commented May 29, 2026

What

Brings the three hardcoded tool versions in our guest-image Dockerfiles under Renovate management. Today these are pinned ARGs consumed by curl/git clone, so Renovate (bare config:recommended) can't see them — they only move when someone notices.

Var Pinned Latest depName / datasource
TASK_VERSION v3.48.0 v3.51.1 go-task/task / github-releases
GOLANGCI_LINT_VERSION v2.10.1 v2.12.2 golangci/golangci-lint / github-releases
HERMES_VERSION v2026.4.16 v2026.5.29 NousResearch/hermes-agent / github-tags

How

  • Enable the official customManagers:dockerfileVersions preset in renovate.json (ships the maintained regex for _VERSION ARG/ENV vars; no hand-rolled regex).
  • Add a # renovate: annotation directly above each ARG. The preset requires the comment immediately above the line and the var name to end in _VERSION — both satisfied.
  • Hermes uses github-tags rather than github-releases because the Dockerfile git 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 ran renovate-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, the releases/latest/download URLs (codex, opencode), @google/gemini-cli, and goimports@latest remain unpinned — consistent with the :latest-only, rebuilt-weekly image model. Digest/version pinning those is a separate decision.

🤖 Generated with Claude Code

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>
@JAORMX JAORMX merged commit bcf4a20 into main May 29, 2026
8 checks passed
@JAORMX JAORMX deleted the renovate-dockerfile-versions branch May 29, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant