fix: track the pinned tool versions with Renovate #2

Merged
fristy merged 2 commits from fix/renovate-tool-pin-tracking into main 2026-11-12 12:12:02 +03:00
3 changed files with 23 additions and 6 deletions

No files matched your search

+17
View File
@@ -7,6 +7,23 @@ 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`.
- 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
### Added
+4 -4
View File
@@ -17,14 +17,14 @@ 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
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 \
@@ -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}" \
+2 -2
View File
@@ -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"
},
{