diff --git a/base/pytorch/docker-bake.hcl b/base/pytorch/docker-bake.hcl index eb3b09a..22da938 100644 --- a/base/pytorch/docker-bake.hcl +++ b/base/pytorch/docker-bake.hcl @@ -39,3 +39,12 @@ target "image-devel-all" { inherits = ["image-devel"] platforms = ["linux/amd64"] } + +// `image-all` is a metadata stub — the CI `app-options` action reads platforms +// from it regardless of variant. The runtime build job is gated on +// Dockerfile.runtime existence in release.yaml, so this target is never +// actually built for base/pytorch (no Dockerfile.runtime exists). +target "image-all" { + inherits = ["image-devel"] + platforms = ["linux/amd64"] +}