Pin yq rebuild with patched x/net, x/text, x/sys; document image usage #1
Loading…
Reference in a new issue
No description provided.
Delete branch "review-readme-reference-projects"
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?
What changed
yqbuild stage that rebuilds thev4.50.1tag with Go1.26.10, pinninggolang.org/x/netv0.60.0,golang.org/x/textv0.42.0, andgolang.org/x/sysv0.49.0. The built binary is copied to/usr/local/bin/yqand verified withyq --versionandgo version -m.dockerself-hosted runner label so actionlint accepts it.YQ_VERSION, or those module pins.Why
The upstream
crowdsecurity/crowdsec1.8.2 image shipsyqbuilt againstgolang.org/x/netv0.48.0 andgolang.org/x/textv0.32.0, which carry fixed HIGH findings in the image scan. Rebuilding that tag with patched modules clears those findings without introducing a second image.Notes for reviewers
yqstage usesGOTOOLCHAIN=localand a pinned Alpine/Go base, so no floating tag is resolved at build time.dockerrunner label matches the Forgejo runner configuration before merging.