...
1## crane index append
2
3Append manifests to a remote index.
4
5### Synopsis
6
7This sub-command pushes an index based on an (optional) base index, with appended manifests.
8
9The platform for appended manifests is inferred from the config file or omitted if that is infeasible.
10
11```
12crane index append [flags]
13```
14
15### Examples
16
17```
18 # Append a windows hello-world image to ubuntu, push to example.com/hello-world:weird
19 crane index append ubuntu -m hello-world@sha256:87b9ca29151260634b95efb84d43b05335dc3ed36cc132e2b920dd1955342d20 -t example.com/hello-world:weird
20
21 # Create an index from scratch for etcd.
22 crane index append -m registry.k8s.io/etcd-amd64:3.4.9 -m registry.k8s.io/etcd-arm64:3.4.9 -t example.com/etcd
23```
24
25### Options
26
27```
28 --docker-empty-base If true, empty base index will have Docker media types instead of OCI
29 --flatten If true, appending an index will append each of its children rather than the index itself (default true)
30 -h, --help help for append
31 -m, --manifest strings References to manifests to append to the base index
32 -t, --tag string Tag to apply to resulting image
33```
34
35### Options inherited from parent commands
36
37```
38 --allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers
39 --insecure Allow image references to be fetched without TLS
40 --platform platform Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default all)
41 -v, --verbose Enable debug logs
42```
43
44### SEE ALSO
45
46* [crane index](crane_index.md) - Modify an image index.
47
View as plain text