2 Commits
Author SHA1 Message Date
dresberandClaude Opus 5.5 de2e6fd3bd fix(docker-publish): explicit builder setup and daemon-side GC verification
Replace the chained inspect||create||inspect with explicit steps:
register builder metadata without --bootstrap (create errors fail the
job), bootstrap with a single logged retry for concurrent creation, and
verify the GC policy reported by the running BuildKit daemon. A builder
created by this job without the expected policy fails the job; an
existing unmigrated builder gets a warning pointing to the manual
migration. The temporary buildkitd config is removed on exit. Existing
containers and state volumes are never recreated or removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:42:55 +00:00
dresberandClaude Opus 5.5 4535438a1c fix(docker-publish): configure BuildKit cache GC for new multiarch builders
Pass a buildkitd config (reservedSpace 10GB, maxUsedSpace 20GB,
minFreeSpace 50GB) via --buildkitd-config when the multiarch builder is
created. Existing builders are reused unchanged and never recreated; a
non-fatal warning flags builders without the managed config. Document
the one-time manual migration, verification, DinD image retention
proposal and rollback in docs/buildkit-gc.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 11:53:17 +00:00