From ec7f685b0c3cb9a89a213a20d6ba854e0d354939 Mon Sep 17 00:00:00 2001 From: fristyxd Date: Thu, 12 Nov 2026 11:55:34 +0300 Subject: [PATCH 1/2] 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" }, { From 92e7b8815221adde9d360249fe275a474c5db239 Mon Sep 17 00:00:00 2001 From: fristyxd Date: Thu, 12 Nov 2026 12:04:40 +0300 Subject: [PATCH 2/2] fix: keep the Go checksum lookup working and bump pnpm The Go layer read the tarball checksum from go.dev/dl/?mode=json, which only lists the current releases. Once 1.27.4 shipped, the pinned 1.27.3 was gone from that list, jq returned nothing and sha256sum aborted the build on all three bases. include=all keeps older pins verifiable. pnpm moves to 12.18.0, which corepack was already downloading at build time. The other pins stay as they are: Renovate bumps them now that it can see them. Signed-off-by: fristyxd --- CHANGELOG.md | 4 ++++ dockerfiles/ubuntu.dockerfile | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dab3d3..1aef1e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,11 +14,15 @@ and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/ `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`. +- Go installs no longer fail when a newer patch is released: the checksum came + from `go.dev/dl/?mode=json`, which lists only the current releases, so a pinned + `GO_VERSION` dropped out of it. The build now requests `include=all`. ### Changed - zig is no longer annotated for Renovate: no datasource publishes ziglang.org releases, so `ZIG_VERSION` is bumped by hand. +- pnpm 12.16.1 to 12.18.0. ## [1.0.0] - 2026-10-31 diff --git a/dockerfiles/ubuntu.dockerfile b/dockerfiles/ubuntu.dockerfile index 7730538..7d433ee 100644 --- a/dockerfiles/ubuntu.dockerfile +++ b/dockerfiles/ubuntu.dockerfile @@ -17,7 +17,7 @@ ARG BASE_IMAGE_TAG # renovate: datasource=node-version depName=node ARG NODE_VERSION=26.13.0 # renovate: datasource=npm depName=pnpm -ARG PNPM_VERSION=12.16.1 +ARG PNPM_VERSION=12.18.0 # renovate: datasource=npm depName=corepack ARG COREPACK_VERSION=0.36.0 # renovate: datasource=github-releases depName=mikefarah/yq @@ -158,7 +158,7 @@ RUN goarch="$(cat /tmp/goarch)" \ && cd /tmp \ && tarball="go${GO_VERSION}.linux-${goarch}.tar.gz" \ && curl -fsSLO "https://go.dev/dl/${tarball}" \ - && curl -fsSL "https://go.dev/dl/?mode=json" -o go.json \ + && curl -fsSL "https://go.dev/dl/?mode=json&include=all" -o go.json \ && sha="$(jq -r --arg v "go${GO_VERSION}" --arg f "${tarball}" '.[] | select(.version == $v) | .files[] | select(.filename == $f) | .sha256' go.json)" \ && echo "${sha} ${tarball}" | sha256sum -c - \ && tar -C /usr/local -xzf "${tarball}" \