Files
spring-boot/buildpack
Moritz Halbritter 8ce3f594fe Check distro instead of stack ID for run image
Stack IDs are deprecated since Platform API 0.12 in favor of target
data. Comparing them produced false warnings for valid combinations,
e.g. the default builder with its tiny run image ('resolute' vs
'resolute.tiny').

Compare the OS distribution instead, read from the
io.buildpacks.base.distro.* labels with a fallback to the
io.buildpacks.stack.distro.* labels set by Paketo images. A missing
name or version matches any value, as in the lifecycle.

Deprecate BuildLog.stackIdsDoNotMatch in favor of distrosDoNotMatch.

Closes gh-51851
2026-09-24 14:03:08 +02:00
..