fix(docker-publish): use a docker-container builder for multi-platform builds #2
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/docker-publish-builder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the first real use of
docker-publish(tim/hass-mcp!7, push run #113).Problem
The job failed with:
The runner's default buildx builder uses the
dockerdriver, which cannot build multi-platform images. The previous hass-mcp pipeline created a container builder withdocker/setup-buildx-action; that step was lost when moving to this action.Everything before the build worked:
@v1resolved from another repo, andLogin Succeeded(soREPO_WRITER_PATis valid).Why the self-test did not catch it
With
push=falsethe action built a single platform with--load, which the docker driver accepts. The production path (multi-platform with--push) was never exercised.Fix
docker-containerbuilder (--builder workflow-basics-multiarch).push=false, build all requested platforms (result stays in the build cache), so the self-test exercises the same path as a real push.Verified
test docker-publish(dispatch on this branch) is running.After merging
Move the
v1tag to the merge commit (v1.0.1as a new tag, thenv1), so callers pick up the fix.Generated with Claude Code