mirror of
https://github.com/orhun/git-cliff.git
synced 2025-01-08 00:56:51 +03:00
65d365c7b5
* refactor(docker): avoid copying volume inside container * docs(readme): Fix Docker tips to mount project, not just repository Otherwise any project configs have no chance of being read...
1.1 KiB
1.1 KiB
sidebar_position |
---|
7 |
Docker
Images
Docker builds are automated and images are available in the following registries:
Usage
The easiest way of running git-cliff (in the git root directory with configuration file present) is to use the available tags from Docker Hub:
docker run -t -v "$(pwd)":/app/ "orhunp/git-cliff:${TAG:-latest}"
Or you can use the image from the GitHub Package Registry:
docker run -t -v "$(pwd)":/app/ "ghcr.io/orhun/git-cliff/git-cliff:${TAG:-latest}"
Building
Custom Docker images can be built from the Dockerfile:
DOCKER_BUILDKIT=1 docker build -t git-cliff .