build: pin WHP_COMMIT to the merge of WHP #334 (8a350449e5e8)

whp-scan-scope with the 2000 MiB limit and the review fixes (unreadable
files, control characters, >= 1023-byte paths and web-root links into
the skipped mail tree refused by name). Verified: full build through the
fetch path with a token secret (token in no layer, history, inspect or
build log), tests/run-tests.sh and tests/image-scope-test.sh ALL PASS on
the built image.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
This commit is contained in:
shadowdaoandClaude Sonnet 5.5 committed 2026-11-22 07:37:54 -08:00
1 parent 63286329e3
commit bfe2330945
1 file changed
+4 -4
+4 -4
View File
@@ -20,9 +20,9 @@ ARG BASE_IMAGE=almalinux:10-minimal
# in that repo.
#
# WHP_COMMIT MUST be a full 40-hex commit sha and MUST be bumped when the
# scan policy changes. It is currently the merge of WHP PR #331 (limit 256 MiB);
# bump it to the merge commit of the WHP PR that raises the limit to 2000 MiB
# (feat/scan-scope-2gib) BEFORE publishing an image that is meant to enforce it.
# scan policy changes. It is the merge of WHP PR #334 (limit 2000 MiB; refuses
# unreadable, control-character, >= 1023-byte paths and web-root links into the
# skipped mail tree).
# CI passes a READ-ONLY token for cloud-hosting-platform/whp as the BuildKit
# secret `whp_token` (repo secret WHP_READ_TOKEN: never the registry-push
# CI_TOKEN). The token is handed to git by a credential helper that reads the
@@ -35,7 +35,7 @@ ARG BASE_IMAGE=almalinux:10-minimal
# resolved 2026-11-22 from registry-1.docker.io). Bump tag and digest together.
ARG GO_IMAGE=golang:1.27-alpine@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280
ARG WHP_REPO=https://repo.anhonesthost.net/cloud-hosting-platform/whp.git
ARG WHP_COMMIT=e668e25dcdc1938d9d9399ea904daba71c0f0778
ARG WHP_COMMIT=8a350449e5e89703ad1b0ad1c1a446f001d178b5
FROM ${GO_IMAGE} AS whp-fetch
ARG WHP_REPO