{"id":18752176,"url":"https://github.com/commitizen-tools/commitizen-docker-image","last_synced_at":"2025-04-13T00:23:57.048Z","repository":{"id":46603649,"uuid":"296015417","full_name":"commitizen-tools/commitizen-docker-image","owner":"commitizen-tools","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-04T11:47:31.000Z","size":24,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T18:21:22.905Z","etag":null,"topics":["bump-version","commitizen","release-automation"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/commitizen/commitizen","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commitizen-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-16T11:43:28.000Z","updated_at":"2025-02-04T11:50:26.000Z","dependencies_parsed_at":"2025-02-04T12:36:01.667Z","dependency_job_id":null,"html_url":"https://github.com/commitizen-tools/commitizen-docker-image","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commitizen-tools%2Fcommitizen-docker-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commitizen-tools%2Fcommitizen-docker-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commitizen-tools%2Fcommitizen-docker-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commitizen-tools%2Fcommitizen-docker-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commitizen-tools","download_url":"https://codeload.github.com/commitizen-tools/commitizen-docker-image/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248648910,"owners_count":21139377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bump-version","commitizen","release-automation"],"created_at":"2024-11-07T17:19:04.039Z","updated_at":"2025-04-13T00:23:57.043Z","avatar_url":"https://github.com/commitizen-tools.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# commitizen-docker-image\n\n\u003e commitizen now available in docker 💪\n\n![Docker Pulls](https://img.shields.io/docker/pulls/commitizen/commitizen?style=flat-square)\n![Docker Image Size (tag)](https://img.shields.io/docker/image-size/commitizen/commitizen/latest?style=flat-square)\n![Docker Image Version (latest semver)](https://img.shields.io/docker/v/commitizen/commitizen?style=flat-square)\n\n## Docker images\n\nWe publish major versions starting with `v4` + latest exact v4.\n\n| Tag                            | Description                                                     |\n| ------------------------------ | --------------------------------------------------------------- |\n| `commitizen/commitizen:latest` | Latest major version, at the moment v4                          |\n| `commitizen/commitizen:4`      | Points to latest v4                                             |\n| `commitizen/commitizen:4.x`    | See [tags](https://hub.docker.com/r/commitizen/commitizen/tags) |\n| `commitizen/commitizen:3`      | Points to latest v3                                             |\n| `commitizen/commitizen:3.x`    | See [tags](https://hub.docker.com/r/commitizen/commitizen/tags) |\n| `commitizen/commitizen:2`      | Points to latest v2                                             |\n| `commitizen/commitizen:2.x`    | See [tags](https://hub.docker.com/r/commitizen/commitizen/tags) |\n\nThis repo checks daily for the latest version and tries to publish it.\n\n## Migrating to `v4`\n\nNothing has changed, python 3.8 support has been dropped.\n\n## Migrating from `v2` to `v3` image\n\nWe've moved this images from using `CMD` to `ENTRYPOINT` for `v3`.\n\nWhere you were doing this:\n\n```sh\ndocker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:2 /bin/sh -c \"cz ls\"\n```\n\nNow you only need to do:\n\n```sh\ndocker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:3 ls\n```\n\n## Usage\n\n## As Script\n\n```bash\ndocker run --rm \\\n  -v $(pwd):/app \\\n  commitizen/commitizen:latest \\\n  bump --changelog\n```\n\n## Inside container\n\nOpen a terminal inside docker with `cz` available and with the current directory mounted.\nThis way we can run any `cz` command.\n\n```bash\ndocker run --rm -it \\\n  --entrypoint /bin/sh \\\n  -v $(pwd):/app \\\n  commitizen/commitizen:latest\n```\n\n## Contributing\n\n### Build and push image\n\n```bash\n./scripts/build\n./scripts/push\n```\n\n### Test locally\n\n```bash\n./scripts/build\n./scripts/cz ls\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommitizen-tools%2Fcommitizen-docker-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommitizen-tools%2Fcommitizen-docker-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommitizen-tools%2Fcommitizen-docker-image/lists"}