fix(base/pytorch): add image-all stub target for CI Plan step#8
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR #7's release run failed at
Build Base pytorch (devel) / Planwithfailed to find target image-all. The CI'sapp-optionsaction queriesbake image-all --printfor platforms regardless of variant, butbase/pytorch/docker-bake.hclonly hadimage-devel-all.Add
image-allas a metadata-only stub inheriting fromimage-devel. The runtime build job is already gated onDockerfile.runtimeexistence (PR #7), so this target is never actually built forbase/pytorch— only itsplatformsfield is read for the devel job's Plan step.Test plan
Build Base pytorch (devel)and the Plan step succeeds.ghcr.io/arsac/pytorch:cuda13.0-torch2.11-devel.🤖 Generated with Claude Code