github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/docs/2-the-jackal-cli/100-cli-commands/jackal_tools_registry_push.md (about) 1 # jackal tools registry push 2 <!-- Auto-generated by hack/gen-cli-docs.sh --> 3 4 Push local image contents to a remote registry 5 6 ## Synopsis 7 8 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. 9 10 ``` 11 jackal tools registry push PATH IMAGE [flags] 12 ``` 13 14 ## Examples 15 16 ``` 17 18 # Push an image into an internal repo in Jackal 19 $ jackal tools registry push image.tar 127.0.0.1:31999/stefanprodan/podinfo:6.4.0 20 21 # Push an image into an repo hosted at reg.example.com 22 $ jackal tools registry push image.tar reg.example.com/stefanprodan/podinfo:6.4.0 23 24 ``` 25 26 ## Options 27 28 ``` 29 -h, --help help for push 30 --image-refs string path to file where a list of the published image references will be written 31 --index push a collection of images as a single index, currently required if PATH contains multiple images 32 ``` 33 34 ## Options inherited from parent commands 35 36 ``` 37 --allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers 38 --insecure Allow image references to be fetched without TLS 39 --platform string Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default "all") 40 -v, --verbose Enable debug logs 41 ``` 42 43 ## SEE ALSO 44 45 * [jackal tools registry](jackal_tools_registry.md) - Tools for working with container registries using go-containertools