File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- REPO_NAME=" soulteary/prebuilt-nginx-modules"
4- tag=" echo" ;
5-
63set -a
74 . " docker/.env"
85set +a
96
7+ REPO_NAME=" soulteary/prebuilt-nginx-modules"
8+
9+ REPO_TAG=" ngx-$NGINX_VERSION -echo-$MODULE_VERSION " ;
10+
1011
1112if [ -f " docker/Dockerfile.alpine" ]; then
12- BUILD_NAME=" $REPO_NAME :$tag - $NGINX_VERSION -alpine"
13+ BUILD_NAME=" $REPO_NAME :$REPO_TAG -alpine"
1314 if [[ " $( docker images -q $BUILD_NAME 2> /dev/null) " == " " ]]; then
1415 echo " Build: $BUILD_NAME " ;
1516 BUILD_ARGS=$( tr ' \n' ' ;' < " docker/.env" | sed ' s/;$/\n/' | sed ' s/^/ --build-arg /' | sed ' s/;/ --build-arg /g' )
@@ -18,7 +19,7 @@ if [ -f "docker/Dockerfile.alpine" ]; then
1819fi
1920
2021if [ -f " docker/Dockerfile.debian" ]; then
21- BUILD_NAME=" $REPO_NAME :$tag - $NGINX_VERSION "
22+ BUILD_NAME=" $REPO_NAME :$REPO_TAG "
2223 if [[ " $( docker images -q $BUILD_NAME 2> /dev/null) " == " " ]]; then
2324 echo " Build: $BUILD_NAME " ;
2425 BUILD_ARGS=$( tr ' \n' ' ;' < " docker/.env" | sed ' s/;$/\n/' | sed ' s/^/ --build-arg /' | sed ' s/;/ --build-arg /g' )
You can’t perform that action at this time.
0 commit comments