Files
spring-boot/buildpack/spring-boot-buildpack-platform
Scott FrederickandMoritz Halbritter b46fe745c0 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.

Co-authored-by: Moritz Halbritter <moritz.halbritter@broadcom.com>
Signed-off-by: Scott Frederick <scottyfred@gmail.com>

See gh-51893
2026-10-01 11:19:48 +01:00
..