heroku / libcnb.rs

A framework for writing Cloud Native Buildpacks in Rust
BSD 3-Clause "New" or "Revised" License
33 stars 6 forks source link

Correct `ContextTarget` references to distro image label names #811

Closed edmorley closed 3 months ago

edmorley commented 3 months ago

Since the relevant distros run image Docker label names are io.buildpacks.base.distro.name and io.buildpacks.base.distro.version.

See: https://github.com/buildpacks/spec/blob/buildpack/v0.10/platform.md#target-data

I believe the rustdocs here were based on the lifecycle codebase, which uses the wrong label name, and is about to be fixed: https://github.com/buildpacks/lifecycle/pull/1325

GUS-W-15350524.

edmorley commented 3 months ago

CI is failing because of new lint errors with Rust 1.77 - I've opened #812 to fix.