This repository was archived by the owner on Jan 19, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ function buildImage() {
99 if [ " ${branch} " = " master" ]; then
1010 imagename=$tagname
1111 else
12- imagename=$tagname -$branch
12+ imagename=$tagname -development
1313 fi
1414 docker build --no-cache -t blacklabelops/nginx:$imagename --build-arg NGINX_VERSION=$version .
1515}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function cleanContainer() {
1616 if [ " ${branch} " = " master" ]; then
1717 imagename=$tagname
1818 else
19- imagename=$tagname -$branch
19+ imagename=$tagname -development
2020 fi
2121 docker rm -f -v $imagename || true
2222}
Original file line number Diff line number Diff line change 44# CONTAINER VARIABLES
55# ------------------
66export NGINX_VERSION=1.10.1-r1
7- git branch
87export BUILD_BRANCH=$( git branch | grep -e " ^*" | cut -d' ' -f 2)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function testPrintVersion() {
88 if [ " ${branch} " = " master" ]; then
99 imagename=$tagname
1010 else
11- imagename=$tagname -$branch
11+ imagename=$tagname -development
1212 fi
1313 docker run --rm blacklabelops/nginx:$imagename -v
1414}
@@ -21,7 +21,7 @@ function testImage() {
2121 if [ " ${branch} " = " master" ]; then
2222 imagename=$tagname
2323 else
24- imagename=$tagname -$branch
24+ imagename=$tagname -development
2525 fi
2626 docker run -d --name=$imagename blacklabelops/nginx:$imagename
2727 while ! docker run --rm --link $imagename :nginx blacklabelops/nginx:$imagename curl -v http://nginx
You can’t perform that action at this time.
0 commit comments