Apply suggestions from code review

Co-authored-by: Valentin Rothberg <vrothberg@redhat.com>
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2024-02-20 05:48:04 -05:00
committed by GitHub
parent 1116e68ddb
commit 67ead5cb5d

View File

@ -103,32 +103,32 @@ Add a sigstore signature at the destination using a private key at the specified
## EXAMPLE
Push specified image to a local directory in docker format:
Push the specified image to a local directory:
```
# podman push imageID dir:/path/to/image
```
Push specified image to a local directory in oci format:
Push the specified image to a local directory in OCI format:
```
# podman push imageID oci-archive:/path/to/layout:image:tag
```
Push specified image to a container registry:
Push the specified image to a container registry:
```
# podman push imageID docker://registry.example.com/repository:tag
```
Push specified image to a container registry and save the digest in the specified file:
Push the specified image to a container registry and save the digest in the specified file:
```
# podman push --digestfile=/tmp/mydigest imageID docker://registry.example.com/repository:tag
```
Push specified image into the local Docker daemon container store:
Push the specified image into the local Docker daemon container store:
```
# podman push imageID docker-daemon:image:tag
```
Push specified image with differnt image name using creds from an alternate authfile path:
Push the specified image with a different image name using credentials from an alternate authfile path:
```
# podman push --authfile temp-auths/myauths.json alpine docker://docker.io/umohnani/alpine
Getting image source signatures
@ -140,7 +140,7 @@ Writing manifest to image destination
Storing signatures
```
Push specified image to local directory as an "oci" manifest type:
Push the specified image to a local directory as an OCI image:
```
# podman push --format oci registry.access.redhat.com/rhel7 dir:rhel7-dir
Getting image source signatures