fix: upgrade base packages and npm to clear the image scan
build / build (26.04) (pull_request) Successful in 3m34s
build / build (26.10) (pull_request) Successful in 3m35s
build / build (24.04) (pull_request) Successful in 3m38s

apt-get upgrade keeps buildpack-deps from freezing linux-libc-dev at the
version the base image shipped with; five CRITICAL kernel CVEs in that
package alone failed the 24.04 publish. npm 11.21.3 replaces the undici
6.28.0 and brace-expansion 5.0.9 bundled with node 26.13.1, 12 HIGH
findings. The npm tree is copied back into the tool cache because the
in-place upgrade breaks its hardlink.

Release pipeline: each main build now cuts the next patch from the newest
v* tag, publishes v<semver>-ubuntu-<base> next to the moving ubuntu-<base>
tags, and only tags the commit after every base has published, so a failed
scan can no longer leave a half published version. The v0.0.0-dev.<sha>
fallback is gone.

Docs: README no longer pins tool versions that Renovate already tracks, and
the image tags, versioning and commit conventions are written down.
This commit is contained in:
fristy committed 2026-11-20 14:35:30 +03:00
1 parent 24f61b6217
commit a7f9769a82
6 files changed
+131 -51

No files matched your search

+26 -5
View File
@@ -5,7 +5,7 @@ All notable changes to this project are documented in this file.
The format is based on [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [1.0.1] - 2026-11-20
### Fixed
@@ -20,16 +20,37 @@ and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/
- tea is looked up through `gitea-releases`: `github.com/gitea/tea` does not
exist, so every Renovate run reported a package lookup failure for it.
### Security
- The build runs `apt-get upgrade` before installing anything else, so the image
no longer inherits the base packages frozen into `buildpack-deps` at its
publish time. The 24.04 image was failing its CRITICAL scan on
`linux-libc-dev` for exactly that reason.
### Changed
- Images carry an immutable `v<semver>-ubuntu-<base>` tag next to the moving
`ubuntu-<base>` tags. Each `main` build cuts the next patch version from the
newest `v*` tag and tags the commit once every base has published; minor and
major releases start the workflow by hand with `version` set. The
`v0.0.0-dev.<sha>` tags are gone.
- 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.
- nfpm 2.48.0 to 2.49.0.
- Renovate merges minor, patch, pin and digest updates on its own once the
branch is green and the release is two days old; major and breaking updates
still wait for a review. trivy and OSV-reported security fixes skip the
release-age wait.
- node 26.13.0 to 26.13.1.
- npm 11.20.0 to 11.21.3, now pinned and tracked by Renovate: the npm bundled
with node 26.13.1 shipped undici 6.28.0 and brace-expansion 5.0.9, which were
12 of the HIGH findings in the image scan.
- pnpm 12.16.1 to 12.21.0.
- yq v4.54.1 to v4.54.3.
- Go 1.27.3 to 1.27.4.
- gh 2.103.3 to 2.105.0.
- trivy 0.76.1 to 0.76.2.
- nfpm 2.48.0 to 2.49.0.
- cargo-zigbuild 0.24.0 to 0.24.1.
## [1.0.0] - 2026-10-31
@@ -49,5 +70,5 @@ and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/
- `build.yaml` (pull requests, no publishing) and `release.yaml` (publish on `main`,
on `v*` tags, monthly, or on demand).
[Unreleased]: https://git.fristy.net/actions/runner-images/compare/v1.0.0...main
[1.0.0]: https://git.fristy.net/actions/runner-images/releases/tag/v1.0.0
[1.0.1]: https://git.fristy.net/actions/runner-images/compare/v1.0.0...v1.0.1
[1.0.0]: https://git.fristy.net/actions/runner-images/src/tag/v1.0.0