|
27 | 27 | # Transfer from one OCI registry to another |
28 | 28 | transfer component-version ghcr.io/source-org/ocm//ocm.software/mycomponent:1.0.0 ghcr.io/target-org/ocm |
29 | 29 |
|
| 30 | +# Transfer from one OCI to another using localBlobs |
| 31 | +transfer component-version ghcr.io/source-org/ocm//ocm.software/mycomponent:1.0.0 ghcr.io/target-org/ocm --copy-resources --upload-as localBlob |
| 32 | + |
| 33 | +# Transfer from one OCI to another using OCI artifacts (default) |
| 34 | +transfer component-version ghcr.io/source-org/ocm//ocm.software/mycomponent:1.0.0 ghcr.io/target-org/ocm --copy-resources --upload-as ociArtifact |
| 35 | + |
30 | 36 | # Transfer including all resources (e.g. OCI artifacts) |
31 | 37 | transfer component-version ctf::./my-archive//ocm.software/mycomponent:1.0.0 ghcr.io/my-org/ocm --copy-resources |
32 | 38 |
|
|
36 | 42 | -h, --help help for component-version |
37 | 43 | -o, --output enum output format of the component descriptors |
38 | 44 | (must be one of [json ndjson yaml]) (default yaml) |
39 | | - -r, --recursive recursively discover and transfer component versions</code></pre></figure></div><h3 id=options-inherited-from-parent-commands>Options inherited from parent commands<a href=#options-inherited-from-parent-commands class=anchor aria-hidden=true>#</a></h3><div class=expressive-code><figure class="frame not-content"><figcaption class=header><span class=title></span></figcaption><pre tabindex=0><code> --config string supply configuration by a given configuration file. |
| 45 | + -r, --recursive recursively discover and transfer component versions |
| 46 | + -u, --upload-as enum Define whether copied resources should be uploaded as OCI artifacts (instead of local blob resources). This option is only relevant if --copy-resources is set. |
| 47 | + (must be one of [default localBlob ociArtifact]) (default default)</code></pre></figure></div><h3 id=options-inherited-from-parent-commands>Options inherited from parent commands<a href=#options-inherited-from-parent-commands class=anchor aria-hidden=true>#</a></h3><div class=expressive-code><figure class="frame not-content"><figcaption class=header><span class=title></span></figcaption><pre tabindex=0><code> --config string supply configuration by a given configuration file. |
40 | 48 | By default (without specifying custom locations with this flag), the file will be read from one of the well known locations: |
41 | 49 | 1. The path specified in the OCM_CONFIG_PATH environment variable |
42 | 50 | 2. The XDG_CONFIG_HOME directory (if set), or the default XDG home ($HOME/.config), or the user's home directory |
|
0 commit comments