ci: pin httpd:alpine by digest; pull via the pkg-cache registry mirror #1

Merged
jknapp merged 1 commits from ci/pkg-cache into main 2026-10-22 14:16:00 +00:00
1 Commits
Author SHA1 Message Date
shadowdaoandClaude Opus 5.5 6eed6aa615 ci: pin httpd:alpine by Docker Hub digest; pull it via the pkg-cache registry mirror
CI resolves httpd:alpine to httpd@sha256:<digest> directly at
registry-1.docker.io (.gitea/scripts/resolve-base-image.sh) and passes it
as BASE_IMAGE. Only when the base is digest-pinned AND the pkg-cache
registry mirror (192.168.1.40:5000) answers over TLS with the pinned CA
is the buildx builder configured with the mirror; otherwise Docker Hub
direct as before. The image installs no OS packages, so no PKG_CACHE
build-arg / pkg-cache-repos.sh is needed; keys/pkg-cache/ is carried for
the CA (identical copy of cloud-apache-container's).

Local builds without build-args still use httpd:alpine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 07:15:31 -07:00