From ec7f685b0c3cb9a89a213a20d6ba854e0d354939 Mon Sep 17 00:00:00 2001 From: fristyxd Date: Thu, 12 Nov 2026 11:55:34 +0300 Subject: [PATCH] fix: track the pinned tool versions with Renovate config:recommended never enabled customManagers:dockerfileVersions, so the Dockerfile manager only reported the base image. The # renovate: annotations above the *_VERSION ARGs were never read, which is why no update PR ever appeared. Go switches to the golang-version datasource: the go datasource is for modules and rejects golang/go. zig has no datasource at all, so its annotation is gone instead of staying silently broken. The tool group rule now matches the regex manager too, so those updates still land as one PR. Signed-off-by: fristyxd --- CHANGELOG.md | 13 +++++++++++++ dockerfiles/ubuntu.dockerfile | 4 ++-- renovate.json | 4 ++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2fafd4..9dab3d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/ ## [Unreleased] +### Fixed + +- Renovate now sees the pinned tool `ARG`s. The `# renovate:` comments above + them are only read by the `customManagers:dockerfileVersions` preset, which + `config:recommended` does not enable, so the Dockerfile manager alone listed + just the base image and never opened an update PR. Go is tracked through the + `golang-version` datasource; the module `go` datasource rejected `golang/go`. + +### Changed + +- zig is no longer annotated for Renovate: no datasource publishes ziglang.org + releases, so `ZIG_VERSION` is bumped by hand. + ## [1.0.0] - 2026-10-31 ### Added diff --git a/dockerfiles/ubuntu.dockerfile b/dockerfiles/ubuntu.dockerfile index cc8569a..7730538 100644 --- a/dockerfiles/ubuntu.dockerfile +++ b/dockerfiles/ubuntu.dockerfile @@ -24,7 +24,7 @@ ARG COREPACK_VERSION=0.36.0 ARG YQ_VERSION=v4.54.1 # renovate: datasource=github-releases depName=gitea/tea ARG TEA_VERSION=0.16.0 -# renovate: datasource=go depName=golang/go +# renovate: datasource=golang-version depName=golang ARG GO_VERSION=1.27.3 # renovate: datasource=github-releases depName=cli/cli ARG GH_VERSION=2.103.3 @@ -34,7 +34,7 @@ ARG TRIVY_VERSION=0.76.1 ARG NFPM_VERSION=2.48.0 # renovate: datasource=github-releases depName=rust-cross/cargo-zigbuild ARG CARGO_ZIGBUILD_VERSION=0.24.0 -# renovate: datasource=ziglang depName=zig +# Renovate has no datasource for zig; bump from https://ziglang.org/download/index.json by hand. ARG ZIG_VERSION=0.17.0 ENV DEBIAN_FRONTEND=noninteractive \ diff --git a/renovate.json b/renovate.json index 8b8d561..1ba8188 100644 --- a/renovate.json +++ b/renovate.json @@ -1,10 +1,10 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended"], + "extends": ["config:recommended", "customManagers:dockerfileVersions"], "minimumReleaseAge": "2 days", "packageRules": [ { - "matchManagers": ["dockerfile"], + "matchManagers": ["dockerfile", "custom.regex"], "groupName": "runner tool versions" }, {