docs(site-image-pinning): record the buildx-from-dind fix and the real stall host

This commit is contained in:
Lance Walters 2026-11-02 17:51:53 -05:00
commit bbcf02e68a

View file

@ -101,10 +101,14 @@ rest. Both deployments run the same image content their pods already ran.
digest, or compare the running pod's digest to the `:<sha>` tag, never digest, or compare the running pod's digest to the `:<sha>` tag, never
`:latest` vs the sha tag. `:latest` vs the sha tag.
- The amd64 runner's job image (`node:20-bullseye`) has no docker CLI, so the - The amd64 runner's job image (`node:20-bullseye`) has no docker CLI, so the
site workflows download a static client each run. That download has been site workflows fetch the binaries each run — and both hosts have been observed
observed to stall for the full 300s (`curl: (28) … 0 out of 0 bytes`) and fail to stall for the full 300s (`curl: (28) … 0 out of 0 bytes`). The static docker
the run. It is transient — re-dispatch the workflow instead of debugging the client tries `download.docker.com` then `mirrors.aliyun.com`; **buildx is copied
network. out of the `docker:27-dind` image the runner already holds**
(`docker create docker:27-dind` → `docker cp …/cli-plugins/docker-buildx`),
with the GitHub release URL only as a fallback. Before that change a
three-attempt retry of the GitHub CDN failed all three times inside a job
container while the same URL fetched fine outside one.
- `runs-on` matters: site images are `linux/amd64` and only siriussec serves - `runs-on` matters: site images are `linux/amd64` and only siriussec serves
them. Build them on `docker-amd64` / `deploy-arm64`, never on the arm64 them. Build them on `docker-amd64` / `deploy-arm64`, never on the arm64
`docker` runner. `docker` runner.