Rebuild gosu with Go 1.26.10 and add CI actionlint config #1
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-actions-complete-readme"
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
gosubuild stage ongolang:1.26.10-alpine3.24that rebuilds the1.19tag from source, pinsgolang.org/x/systov0.49.0, and verifies the source tarball by SHA-256. The final image copies the rebuilt binary over/usr/local/bin/gosuand assertsgosu --versionreportsgo1.26.10and thatgosu nobody trueworks.gosupin and the rebuilt stage, and addsGOSU_VERSIONandGOLANG_X_SYS_VERSIONto the list of version-bump inputs.entrypoint.postgresql.sh, and the environment switches.[ ... ] && [ ... ] || { ... }guard blocks with explicitifstatements so thatset -eand the error path behave predictably.dockerself-hosted runner label so actionlint stops flagging workflow jobs that use it.Why
The
postgres:18.6base image shipsgosubuilt with Go 1.24.6, which carries fixed HIGH and CRITICAL standard-library findings in the image scan. Rebuilding the samegosutag with a patched Go toolchain clears those findings without changing the base tag. The shell guard rewrite removes a fragile&&/||pattern in the entrypoint.Review notes
.pycfile should be removed from the commit and__pycache__added to.gitignore.gosuSHA-256 against the upstream release before merging.go1.26.10.