summaryrefslogtreecommitdiffstats
path: root/cmd/crane/doc/crane_push.md
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/crane/doc/crane_push.md')
-rw-r--r--cmd/crane/doc/crane_push.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/cmd/crane/doc/crane_push.md b/cmd/crane/doc/crane_push.md
new file mode 100644
index 0000000..64bacf6
--- /dev/null
+++ b/cmd/crane/doc/crane_push.md
@@ -0,0 +1,33 @@
+## crane push
+
+Push local image contents to a remote registry
+
+### Synopsis
+
+If the PATH is a directory, it will be read as an OCI image layout. Otherwise, PATH is assumed to be a docker-style tarball.
+
+```
+crane push PATH IMAGE [flags]
+```
+
+### Options
+
+```
+ -h, --help help for push
+ --image-refs string path to file where a list of the published image references will be written
+ --index push a collection of images as a single index, currently required if PATH contains multiple images
+```
+
+### Options inherited from parent commands
+
+```
+ --allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers
+ --insecure Allow image references to be fetched without TLS
+ --platform platform Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default all)
+ -v, --verbose Enable debug logs
+```
+
+### SEE ALSO
+
+* [crane](crane.md) - Crane is a tool for managing container images
+