Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

carlossg/commitizen-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

25 Commits

Repository files navigation

commitizen-docker-image

commitizen now available in docker

Docker images

We publish major versions starting with v3 + latest exact v3.

Tag Description
commitizen/commitizen:latest Latest major version, at the moment v3
commitizen/commitizen:3 Points to latest v3
commitizen/commitizen:3.x See tags
commitizen/commitizen:2 Points to latest v2
commitizen/commitizen:2.x See tags

This repo checks daily for the latest version and tries to publish it.

Migrating from v2 to v3 image

We've moved this images from using CMD to ENTRYPOINT for v3.

Where you were doing this:

docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:2 /bin/sh -c "cz ls"

Now you only need to do:

docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:3 ls

Usage

As Script

docker run --rm \
-v $(pwd):/app \
commitizen/commitizen:latest \
bump --changelog

Inside container

Open a terminal inside docker with cz available and with the current directory mounted. This way we can run any cz command.

docker run --rm -it \
--entrypoint /bin/sh \
-v $(pwd):/app \
commitizen/commitizen:latest

Contributing

Build and push image

./scripts/build
./scripts/push

Test locally

./scripts/build
./scripts/cz ls

About

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Shell 76.4%
  • Dockerfile 23.6%