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

Commit d3c6cd2

Browse files
committed
build: update references to v3
1 parent 74a1758 commit d3c6cd2

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

‎.github/workflows/publish-container.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Publish Docker image
22

33
on:
4-
#schedule:
5-
# # At the end of every day
6-
# - cron: '0 0 * * *'
4+
schedule:
5+
# At the end of every day
6+
- cron: '0 0 * * *'
77
workflow_dispatch:
88
# inputs:
99
# run:

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WORKDIR /app
66
RUN apk add --update -t --no-cache git curl alpine-sdk
77
RUN ["pip", "install", "-U", "--no-cache-dir", "pip"]
88

9-
ARG CZ_VERSION=2.28.0
9+
ARG CZ_VERSION=3.1.1
1010
RUN pip install --no-cache-dir commitizen==$CZ_VERSION
1111

1212
ENTRYPOINT ["cz"]

‎README.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,22 @@ We publish major versions starting with `v3` + latest exact v3.
2020

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

23+
## Migrating from `v2` to `v3` image
24+
25+
We've moved this images from using `CMD` to `ENTRYPOINT` for `v3`.
26+
27+
Where you were doing this:
28+
29+
```sh
30+
docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:2 /bin/sh -c "cz ls"
31+
```
32+
33+
Now you only need to do:
34+
35+
```sh
36+
docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:3 ls
37+
```
38+
2339
## Usage
2440

2541
## As Script

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /