2024-10-03 11:48:34 +02:00
|
|
|
# crane index append
|
|
|
|
|
|
|
|
> Append manifest to a remote index.
|
|
|
|
> This sub-command pushes an index based on an (optional) base index, with appended manifests.
|
|
|
|
> The platform for appended manifests is inferred from the config file or omitted if that is infeasible.
|
|
|
|
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_index_append.md>.
|
|
|
|
|
|
|
|
- Append manifest to a remote index:
|
|
|
|
|
|
|
|
`crane index append`
|
|
|
|
|
|
|
|
- Reference to manifests to append to the base index:
|
|
|
|
|
2025-03-08 16:43:04 +02:00
|
|
|
`crane index append {{[-m|--manifest]}} {{manifest_name1 manifest_name2 ...}}`
|
2024-10-03 11:48:34 +02:00
|
|
|
|
|
|
|
- Tag to apply to resulting image:
|
|
|
|
|
2025-03-08 16:43:04 +02:00
|
|
|
`crane index append {{[-t|--tag]}} {{tag_name}}`
|
2024-10-03 11:48:34 +02:00
|
|
|
|
|
|
|
- Empty base index will have Docker media types instead of OCI:
|
|
|
|
|
|
|
|
`crane index append --docker-empty-base`
|
|
|
|
|
|
|
|
- Append each of its children rather than the index itself (defaults true):
|
|
|
|
|
|
|
|
`crane index append --flatten`
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
2025-03-08 16:43:04 +02:00
|
|
|
`crane index append {{[-h|--help]}}`
|