Skip to content

Commit bbda22c

Browse files
authored
fix some ghcr docker call examples had a typo when specifing image tag (#262)
1 parent dc0fd48 commit bbda22c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/packages/managing-container-images-with-github-container-registry/pushing-and-pulling-docker-images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To push and pull container images owned by an organization, an organization admi
2020

2121
This example pushes the latest version of `IMAGE-NAME`.
2222
```shell
23-
$ docker push ghcr.io/OWNER/IMAGE_NAME.latest
23+
$ docker push ghcr.io/OWNER/IMAGE_NAME:latest
2424
```
2525

2626
This example pushes the `2.5` version of the image.
@@ -42,7 +42,7 @@ To ensure you're always using the same image, you can specify the exact containe
4242
```
4343
2. Remove image locally as needed.
4444
```shell
45-
$ docker rmi ghcr.io/OWNER/IMAGE_NAME.latest
45+
$ docker rmi ghcr.io/OWNER/IMAGE_NAME:latest
4646
```
4747

4848
3. Pull the container image with `@YOUR_SHA_VALUE` after the image name.

0 commit comments

Comments
 (0)