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:
5252
5353build : pull-base-image
5454 docker build -t $(IMAGE ) .
55- cd build ; . /gen-readme.sh $(IMAGE )
55+ ./build /gen-readme.sh $(IMAGE )
5656
5757rebuild : pull-base-image
5858 docker build --no-cache -t $(IMAGE ) .
59- cd build ; . /gen-readme.sh $(IMAGE )
59+ ./build /gen-readme.sh $(IMAGE )
6060
6161
6262# -------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -270,5 +270,5 @@ It allows any of the following combinations:
270270## Version
271271
272272```
273- nginx version: nginx/1.19.5
273+ nginx version: nginx/1.19.5
274274```
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ IMAGE="${1}"
1010# ##
1111# ## Retrieve information afterwards and Update README.md
1212# ##
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 ' ) "
1414
1515echo " ${INFO} "
1616sed -i' ' ' /##[[:space:]]Version/q' " ${CWD} /README.md"
You can’t perform that action at this time.
0 commit comments