crane/gcrane: add pages (#13853)
This commit is contained in:

committed by
GitHub

parent
0327318dc0
commit
0bf92baea5
20
pages/common/crane-push.md
Normal file
20
pages/common/crane-push.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# crane push
|
||||
|
||||
> Push local image contents to a remote registry.
|
||||
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_push.md>.
|
||||
|
||||
- Push local image to remote registry:
|
||||
|
||||
`crane push {{path/to/tarball}} {{image_name}}`
|
||||
|
||||
- Path to file with list of published image references:
|
||||
|
||||
`crane push {{path/to/tarball}} {{image_name}} --image-refs {{path/to/filename}}`
|
||||
|
||||
- Push a collection of images as a single index (required if path has multiple images):
|
||||
|
||||
`crane push {{path/to/tarball}} {{image_name}} --index`
|
||||
|
||||
- Display help:
|
||||
|
||||
`crane push {{-h|--help}}`
|
Reference in New Issue
Block a user