File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ lint-workflow:
52
52
53
53
build : pull-base-image
54
54
docker build -t $(IMAGE ) .
55
- cd build ; . /gen-readme.sh $(IMAGE )
55
+ ./build /gen-readme.sh $(IMAGE )
56
56
57
57
rebuild : pull-base-image
58
58
docker build --no-cache -t $(IMAGE ) .
59
- cd build ; . /gen-readme.sh $(IMAGE )
59
+ ./build /gen-readme.sh $(IMAGE )
60
60
61
61
62
62
# -------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -270,5 +270,5 @@ It allows any of the following combinations:
270
270
## Version
271
271
272
272
```
273
- nginx version: nginx/1.18.0
273
+ nginx version: nginx/1.18.0
274
274
```
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ IMAGE="${1}"
10
10
# ##
11
11
# ## Retrieve information afterwards and Update README.md
12
12
# ##
13
- INFO=" $( docker run -it -- rm --entrypoint=nginx ${IMAGE} -v 2>&1 ) "
13
+ INFO=" $( docker run -- rm --entrypoint=nginx " ${IMAGE} " -v 2>&1 | tr -d ' \r ' ) "
14
14
15
15
echo " ${INFO} "
16
16
sed -i' ' ' /##[[:space:]]Version/q' " ${CWD} /README.md"
You can’t perform that action at this time.
0 commit comments