Skip to content

Commit cc9bac2

Browse files
committed
fix!: use cz v3
1 parent 97a61e9 commit cc9bac2

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/publish-container.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ jobs:
4949
build-args: |
5050
CZ_VERSION=${{ steps.getversion.outputs.version }}
5151
tags: |
52-
commitizen/commitizen:2
52+
commitizen/commitizen:3
5353
commitizen/commitizen:latest
5454
commitizen/commitizen:${{ steps.getversion.outputs.version }}

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@
88

99
## Docker images
1010

11-
We publish major versions starting with `v2` + latest exact v2.
11+
We publish major versions starting with `v3` + latest exact v3.
1212

1313
| Tag | Description |
1414
| ------------------------------ | --------------------------------------------------------------- |
15-
| `commitizen/commitizen:latest` | Latest major version, at the moment v2 |
15+
| `commitizen/commitizen:latest` | Latest major version, at the moment v3 |
16+
| `commitizen/commitizen:3` | Points to latest v3 |
17+
| `commitizen/commitizen:3.x` | See [tags](https://hub.docker.com/r/commitizen/commitizen/tags) |
1618
| `commitizen/commitizen:2` | Points to latest v2 |
1719
| `commitizen/commitizen:2.x` | See [tags](https://hub.docker.com/r/commitizen/commitizen/tags) |
1820

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

21-
2223
## Usage
2324

2425
## As Script

scripts/build

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/sh -e
22
set -x
3-
EXACT_VERSION="${EXACT_VERSION:-2}"
3+
EXACT_VERSION="${EXACT_VERSION:-3}"
44

5-
# Also tag exact question, if not provided we repeat value '2' twice, but
5+
# Also tag exact question, if not provided we repeat value '3' twice, but
66
# it won't create any problem
77
docker build \
8-
-t registry.hub.docker.com/commitizen/commitizen:2 \
8+
-t registry.hub.docker.com/commitizen/commitizen:3 \
99
-t registry.hub.docker.com/commitizen/commitizen:latest \
1010
-t "registry.hub.docker.com/commitizen/commitizen:$EXACT_VERSION" \
1111
.

scripts/run

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh -ex
2-
docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:2 /bin/sh -c "$@"
2+
docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:3 /bin/sh -c "$@"

0 commit comments

Comments
 (0)