-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use correct run image label name for distro name/version (#1325)
The spec and docs say that the run image distro and version should be specified via the Docker image labels `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 However, until now the lifecycle implementation was checking for label names that were missing the `.base` substring from the name. This causes distro name/version `buildpack.toml` target detection to fail, as well as the env vars `CNB_TARGET_DISTRO_NAME` and `CNB_TARGET_DISTRO_VERSION` not to be set correctly in the buildpack environment. Fixes #1324. Signed-off-by: Ed Morley <501702+edmorley@users.noreply.github.com>
- Loading branch information
1 parent
4f3e744
commit 753e8a5
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters