diff --git a/README.md b/README.md index 0fba8d2..eab4e47 100644 --- a/README.md +++ b/README.md @@ -52,4 +52,4 @@ These documents currently specify: - Buildpack API: `0.10` - Distribution API: `0.3` -- Platform API: `0.12` +- Platform API: `0.14` diff --git a/platform.md b/platform.md index 2f3d312..9bd174f 100644 --- a/platform.md +++ b/platform.md @@ -98,7 +98,7 @@ Examples of a platform might include: ## Platform API Version -This document specifies Platform API version `0.12`. +This document specifies Platform API version `0.14`. Platform API versions: - MUST be in form `.` or ``, where `` is equivalent to `.0` @@ -479,7 +479,8 @@ Usage: [-layers ] \ [-log-level ] \ [-skip-layers ] \ - [-uid ] + [-uid ] \ + [-run ] ``` ##### Inputs @@ -499,11 +500,13 @@ Usage: | `` | `CNB_LOG_LEVEL` | `info` | Log Level | | `` | `CNB_SKIP_LAYERS` | `false` | Do not perform [layer restoration](#layer-restoration) | | `` | `CNB_USER_ID` | | UID of the build image `User` | - +| ``** | `CNB_RUN_PATH` | `/cnb/run.toml` | Path to run file (see [`run.toml`](#runtoml-toml)) | > ^ Only needed when using image extensions > \* Only needed when using image extensions to extend the build image +> \** Only needed when using image extensions to extend the run image + ##### Outputs | Output | Description | @@ -533,7 +536,7 @@ Usage: - MUST record the digest reference to the provided `` in `` - MUST copy the OCI manifest and config file for `` to `/cache` - The lifecycle: - - MUST resolve `run-image.reference` to a digest reference in `` if not present + - MUST [resolve mirrors](#run-image-resolution) for the `run-image.reference` in `` and resolve it to a digest reference - MUST populate `run-image.target` data in `` if not present - **If** `` has `run-image.extend = true`, the lifecycle: - MUST download from the registry and save in OCI layout format the `run-image` in `` to `/cache`