Skip to content

Commit

Permalink
Update platform.md
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Brown <jabrown85@gmail.com>

Co-authored-by: Emily Casey <emilykimballcasey@gmail.com>
  • Loading branch information
jabrown85 and ekcasey authored Apr 22, 2021
1 parent 6480d2e commit d338de2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,10 @@ Usage:
| `<tag>...` | | | Additional tag to apply to exported image
| `<uid>` | `CNB_USER_ID` | | UID of the stack `User`

- **If** `<daemon>` is `false`, `<image>` MUST be a valid image reference
- **If** `<daemon>` is `true`, `<image>` MUST be either a valid image reference or an imageID
-`<image>` MUST be a valid image reference
- **If** the platform provides one or more `<tag>` inputs, each `<tag>` MUST be a valid image reference.
- **If** `<daemon>` is `false`, and `<previous-image>`, if provided, MUST be a valid image reference
- **If** `<daemon>` is `true`, `<previous-image>`, if provided, MUST be either a valid image reference or an imageID
- **If** `<run-image>` is not provided by the platform the lifecycle MUST [resolve](#run-image-resolution) the run image from the contents of `stack` or fail if `stack` does not contain a valid run image.
- The lifecycle MUST accept valid references to non-existent images without error.
- The lifecycle MUST fail if the stack ID of the `<run-image>` does not match `<stack-id>`
Expand Down

0 comments on commit d338de2

Please sign in to comment.