File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff line change 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
1921This repo checks daily for the latest version and tries to publish it.
2022
21-
2223## Usage
2324
2425## As Script
Original file line number Diff line number Diff line change 11#! /bin/sh -e
22set -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
77docker 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 .
Original file line number Diff line number Diff line change 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 " $@ "
You can’t perform that action at this time.
0 commit comments