Commit Graph
2 Commits
Author SHA1 Message Date
shadowdaoandClaude Sonnet 5.5 6547822321 ci: dispatch-only arm64 attach workflow for cnoc (additive, amd64 digest unchanged)
Builds ONLY the arm64 leg of an existing cnoc:nodeNN tag (QEMU, push by digest) and merges it
with the tag's current amd64 manifest into a new index. Independent of build-push.yaml (its
push-to-main trigger is untouched). Guards: plan pre-check, ELF machine check of both
platforms, node version parity, tag-moved check, amd64 digest verified unchanged afterwards.
Scripts copied from cloud-apache-container (.gitea/scripts, so the image's COPY ./scripts is
unaffected). Actions pinned to commit SHAs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
2026-11-20 06:25:06 -08:00
shadowdaoandClaude Opus 5.5 6b015141dc ci: pin base images by digest resolved directly from Docker Hub
With the pkg-cache BuildKit mirror on, `FROM almalinux/10-base` was resolved
by tag through the cache, so a compromised cache could substitute the image.

Each job using the mirror now looks up the base tag's digest DIRECTLY at
registry-1.docker.io (.gitea/scripts/resolve-base-image.sh, HTTPS, HEAD on
the manifest, regex-validated) and builds FROM image@sha256:... via the
BASE_IMAGE build-arg, so the mirror can only serve content-addressed blobs.
If the lookup fails, the mirror is NOT used for that job and the tag is pulled
straight from Docker Hub. The digest is resolved every run (no manual bumps);
local builds default to the tag.

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