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
2 changed files with 6 additions and 2 deletions
Showing only changes of commit 92e7b88152 - Show all commits

No files matched your search

+4
View File
@@ -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 `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 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`. `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 ### Changed
- zig is no longer annotated for Renovate: no datasource publishes ziglang.org - zig is no longer annotated for Renovate: no datasource publishes ziglang.org
releases, so `ZIG_VERSION` is bumped by hand. releases, so `ZIG_VERSION` is bumped by hand.
- pnpm 12.16.1 to 12.18.0.
## [1.0.0] - 2026-10-31 ## [1.0.0] - 2026-10-31
+2 -2
View File
@@ -17,7 +17,7 @@ ARG BASE_IMAGE_TAG
# renovate: datasource=node-version depName=node # renovate: datasource=node-version depName=node
ARG NODE_VERSION=26.13.0 ARG NODE_VERSION=26.13.0
# renovate: datasource=npm depName=pnpm # renovate: datasource=npm depName=pnpm
ARG PNPM_VERSION=12.16.1 ARG PNPM_VERSION=12.18.0
# renovate: datasource=npm depName=corepack # renovate: datasource=npm depName=corepack
ARG COREPACK_VERSION=0.36.0 ARG COREPACK_VERSION=0.36.0
# renovate: datasource=github-releases depName=mikefarah/yq # renovate: datasource=github-releases depName=mikefarah/yq
@@ -158,7 +158,7 @@ RUN goarch="$(cat /tmp/goarch)" \
&& cd /tmp \ && cd /tmp \
&& tarball="go${GO_VERSION}.linux-${goarch}.tar.gz" \ && tarball="go${GO_VERSION}.linux-${goarch}.tar.gz" \
&& curl -fsSLO "https://go.dev/dl/${tarball}" \ && 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)" \ && 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 - \ && echo "${sha} ${tarball}" | sha256sum -c - \
&& tar -C /usr/local -xzf "${tarball}" \ && tar -C /usr/local -xzf "${tarball}" \