File tree 4 files changed +9
-8
lines changed
4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 49
49
build-args : |
50
50
CZ_VERSION=${{ steps.getversion.outputs.version }}
51
51
tags : |
52
- commitizen/commitizen:2
52
+ commitizen/commitizen:3
53
53
commitizen/commitizen:latest
54
54
commitizen/commitizen:${{ steps.getversion.outputs.version }}
Original file line number Diff line number Diff line change 8
8
9
9
## Docker images
10
10
11
- We publish major versions starting with ` v2 ` + latest exact v2 .
11
+ We publish major versions starting with ` v3 ` + latest exact v3 .
12
12
13
13
| Tag | Description |
14
14
| ------------------------------ | --------------------------------------------------------------- |
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 ) |
16
18
| ` commitizen/commitizen:2 ` | Points to latest v2 |
17
19
| ` commitizen/commitizen:2.x ` | See [ tags] ( https://hub.docker.com/r/commitizen/commitizen/tags ) |
18
20
19
21
This repo checks daily for the latest version and tries to publish it.
20
22
21
-
22
23
## Usage
23
24
24
25
## As Script
Original file line number Diff line number Diff line change 1
1
#! /bin/sh -e
2
2
set -x
3
- EXACT_VERSION=" ${EXACT_VERSION:- 2 } "
3
+ EXACT_VERSION=" ${EXACT_VERSION:- 3 } "
4
4
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
6
6
# it won't create any problem
7
7
docker build \
8
- -t registry.hub.docker.com/commitizen/commitizen:2 \
8
+ -t registry.hub.docker.com/commitizen/commitizen:3 \
9
9
-t registry.hub.docker.com/commitizen/commitizen:latest \
10
10
-t " registry.hub.docker.com/commitizen/commitizen:$EXACT_VERSION " \
11
11
.
Original file line number Diff line number Diff line change 1
1
#! /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