Skip to content

Commit 7da5eef

Browse files
committed
Move the comment down and make it only in case of error
1 parent 2891a20 commit 7da5eef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/content/usage/packages/container.en-us.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ For example, these are all valid image names for the owner `testuser`:
5151

5252
## Push an image
5353

54-
Before pushing an image it needs to be taged with the following command:
55-
56-
```shell
57-
docker tag {image}:{tag} gitea.example.com/{owner}/{image}:{tag}
58-
```
59-
6054
Push an image by executing the following command:
6155

6256
```shell
@@ -75,6 +69,12 @@ For example:
7569
docker push gitea.example.com/testuser/myimage:latest
7670
```
7771

72+
If you run into the error "An image does not exist locally with the tag" simply run the following command:
73+
74+
```shell
75+
docker tag {image}:{tag} gitea.example.com/{owner}/{image}:{tag}
76+
```
77+
7878
## Pull an image
7979

8080
Pull an image by executing the following command:

0 commit comments

Comments
 (0)