Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing OCI image labels from CNB spec #265

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Mar 18, 2024

Adds the following labels:

  • io.buildpacks.base.distro.name
  • io.buildpacks.base.distro.version
  • io.buildpacks.base.homepage
  • io.buildpacks.base.maintainer

Of note, adding the io.buildpacks.base.distro.* labels unblocks CNBs being able to determine the distro name/version from within detect/build, allowing our CNBs to migrate from stacks to targets, and thus to start using Buildpack API 0.10.

See:
https://github.com/buildpacks/spec/blob/platform/0.13/platform.md#build-image
https://github.com/buildpacks/spec/blob/platform/0.13/platform.md#run-image
https://github.com/buildpacks/spec/blob/platform/0.13/platform.md#target-data

Fixes #249.
GUS-W-15213143.

Adds the following labels:
- `io.buildpacks.base.distro.name`
- `io.buildpacks.base.distro.version`
- `io.buildpacks.base.homepage`
- `io.buildpacks.base.maintainer`

Of note, adding the `io.buildpacks.base.distro.*` labels unblocks buildpacks being
able to determine the distro name/version from within detect/build, allowing our
CNBs to migrate from stacks to targets, and thus to start using Buildpack API 0.10.

See:
https://github.com/buildpacks/spec/blob/platform/0.13/platform.md#build-image
https://github.com/buildpacks/spec/blob/platform/0.13/platform.md#run-image
https://github.com/buildpacks/spec/blob/platform/0.13/platform.md#target-data

Fixes #249.
GUS-W-15213143.
@edmorley edmorley self-assigned this Mar 18, 2024
@edmorley edmorley marked this pull request as ready for review March 18, 2024 22:08
@edmorley edmorley requested a review from a team as a code owner March 18, 2024 22:08
@edmorley edmorley merged commit ef636fe into main Mar 19, 2024
4 checks passed
@edmorley edmorley deleted the edmorley/add-labels branch March 19, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add missing CNB Labels
2 participants