Require nginx 1.30.7 so the laravel image can be signed #85
Loading…
Reference in a new issue
No description provided.
Delete branch "patrick/nginx-1.30.7"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
main's build after #84 merged pushed a laravel image that Harbor's scan flagged with 4 Critical CVEs, all in nginx 1.30.6 (CVE-2026-113425, CVE-2026-121810, CVE-2026-123007, CVE-2026-123633; fixed in 1.30.7-r0). Harbor refuses to serve images with a Critical finding, so cosign couldn't pull it to sign, and the release stopped. The other 5 images signed fine.
Cause: Alpine 3.24 (base of
php:8.5.12-fpm-alpine) already ships nginx 1.30.7, but the runner's plaindocker buildreused a cachedapk addlayer holding 1.30.6.Fix:
'nginx>=1.30.7'in the runtimeapk add. Changing the line rebuilds that layer, and the build fails outright if a vulnerable nginx ever resolves again.Checked: Alpine 3.24 APKINDEX lists nginx 1.30.7-r0; the base image is Alpine 3.24.4. Not built locally (no Docker daemon here); this PR's CI doesn't build images either, so main's build after merge is the real test.
Follow-up worth considering: the shared workflow builds with plain
docker buildand no--pull, so any package fix can be masked by a cached layer the same way.🤖 Generated with Claude Code