Skip to content

Commit

Permalink
docs(readme): Fix Docker tips to mount project, not just repository
Browse files Browse the repository at this point in the history
Otherwise any project configs have no chance of being read...
  • Loading branch information
alerque committed Apr 22, 2023
1 parent 720de46 commit 754b942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,13 @@ Also, see the [release script](./release.sh) of this project which sets the chan
The easiest way of running **git-cliff** (in the git root directory with [configuration file](#configuration-file) present) is to use the [available tags](https://hub.docker.com/repository/docker/orhunp/git-cliff/tags) from [Docker Hub](https://hub.docker.com/repository/docker/orhunp/git-cliff):

```sh
docker run -t -v "$(pwd)/.git":/app/ orhunp/git-cliff:latest
docker run -t -v "$(pwd)":/app/ orhunp/git-cliff:latest
```

Or you can use the image from the [GitHub Package Registry](https://github.com/orhun/git-cliff/packages/841947):

```sh
docker run -t -v "$(pwd)/.git":/app/ docker.pkg.github.com/orhun/git-cliff/git-cliff:latest
docker run -t -v "$(pwd)":/app/ docker.pkg.github.com/orhun/git-cliff/git-cliff:latest
```

Also, you can build the image yourself using `DOCKER_BUILDKIT=1 docker build -t git-cliff .` command.
Expand Down

0 comments on commit 754b942

Please sign in to comment.