Skip to content

fix(base/pytorch): add image-all stub target for CI Plan step#8

Merged
arsac merged 1 commit intomainfrom
fix/pytorch-bake-image-all
Apr 28, 2026
Merged

fix(base/pytorch): add image-all stub target for CI Plan step#8
arsac merged 1 commit intomainfrom
fix/pytorch-bake-image-all

Conversation

@arsac
Copy link
Copy Markdown
Owner

@arsac arsac commented Apr 28, 2026

Summary

PR #7's release run failed at Build Base pytorch (devel) / Plan with failed to find target image-all. The CI's app-options action queries bake image-all --print for platforms regardless of variant, but base/pytorch/docker-bake.hcl only had image-devel-all.

Add image-all as a metadata-only stub inheriting from image-devel. The runtime build job is already gated on Dockerfile.runtime existence (PR #7), so this target is never actually built for base/pytorch — only its platforms field is read for the devel job's Plan step.

Test plan

  • Release CI re-runs Build Base pytorch (devel) and the Plan step succeeds.
  • Devel build runs to completion and pushes ghcr.io/arsac/pytorch:cuda13.0-torch2.11-devel.
  • Runtime job remains skipped for pytorch.

🤖 Generated with Claude Code

The CI app-options action runs `docker buildx bake image-all --print` to
extract platforms regardless of variant. The devel build's Plan step failed
because base/pytorch only had image-devel-all, not image-all.

Add image-all as a metadata stub inheriting from image-devel. The runtime
build job is gated on Dockerfile.runtime existence (release.yaml change in
PR #7), so this target is never actually built for base/pytorch — only its
platforms metadata is queried.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@arsac arsac merged commit dc83f45 into main Apr 28, 2026
4 of 5 checks passed
@arsac arsac deleted the fix/pytorch-bake-image-all branch April 28, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant