Skip to content

Commit f3fd755

Browse files
author
Natalie Arellano
authored
Merge pull request #410 from buildpacks/platform/0.14
Finalize Platform 0.14
2 parents 7207c7d + f8b60dc commit f3fd755

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ These documents currently specify:
5252

5353
- Buildpack API: `0.10`
5454
- Distribution API: `0.3`
55-
- Platform API: `0.12`
55+
- Platform API: `0.14`

platform.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Examples of a platform might include:
9898

9999
## Platform API Version
100100

101-
This document specifies Platform API version `0.12`.
101+
This document specifies Platform API version `0.14`.
102102

103103
Platform API versions:
104104
- MUST be in form `<major>.<minor>` or `<major>`, where `<major>` is equivalent to `<major>.0`
@@ -479,7 +479,8 @@ Usage:
479479
[-layers <layers>] \
480480
[-log-level <log-level>] \
481481
[-skip-layers <skip-layers>] \
482-
[-uid <uid>]
482+
[-uid <uid>] \
483+
[-run <run> ]
483484
```
484485

485486
##### Inputs
@@ -499,11 +500,13 @@ Usage:
499500
| `<log-level>` | `CNB_LOG_LEVEL` | `info` | Log Level |
500501
| `<skip-layers>` | `CNB_SKIP_LAYERS` | `false` | Do not perform [layer restoration](#layer-restoration) |
501502
| `<uid>` | `CNB_USER_ID` | | UID of the build image `User` |
502-
503+
| `<run>`** | `CNB_RUN_PATH` | `/cnb/run.toml` | Path to run file (see [`run.toml`](#runtoml-toml)) |
503504
> ^ Only needed when using image extensions
504505
505506
> \* Only needed when using image extensions to extend the build image
506507
508+
> \** Only needed when using image extensions to extend the run image
509+
507510
##### Outputs
508511

509512
| Output | Description |
@@ -533,7 +536,7 @@ Usage:
533536
- MUST record the digest reference to the provided `<build-image>` in `<analyzed>`
534537
- MUST copy the OCI manifest and config file for `<build-image>` to `<kaniko-dir>/cache`
535538
- The lifecycle:
536-
- MUST resolve `run-image.reference` to a digest reference in `<analyzed>` if not present
539+
- MUST [resolve mirrors](#run-image-resolution) for the `run-image.reference` in `<analyzed>` and resolve it to a digest reference
537540
- MUST populate `run-image.target` data in `<analyzed>` if not present
538541
- **If** `<analyzed>` has `run-image.extend = true`, the lifecycle:
539542
- MUST download from the registry and save in OCI layout format the `run-image` in `<analyzed>` to `<kaniko-dir>/cache`

0 commit comments

Comments
 (0)