fix: keep the Go checksum lookup working and bump pnpm
build / build (26.04) (pull_request) Successful in 3m20s
build / build (26.10) (pull_request) Successful in 3m19s
build / build (24.04) (pull_request) Successful in 3m20s

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 <gpg@fristy.dev>
This commit is contained in:
fristy committed 2026-11-12 12:04:40 +03:00
1 parent ec7f685b0c
commit 92e7b88152
2 files changed
+6 -2

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
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
+2 -2
View File
@@ -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}" \