0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-24 18:09:26 -05:00

developer: set the tag of the built image

Otherwise it won't show in `docker image ls` which can be confusing.
This commit is contained in:
Earl Warren 2024-03-06 14:31:31 +08:00
parent 3f9b7ac809
commit 33d2622dff
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -128,7 +128,7 @@ To build Forgejo's Docker image, you need to have Docker and the Docker Buildx p
You can build the Docker image with:
```bash
docker buildx build .
docker buildx build --output type=docker --tag forgejo:mybuild .
```
This will run the entire build process in a Docker container with the required dependencies.