File tree 2 files changed +12
-43
lines changed
2 files changed +12
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,6 +18,13 @@ echo $NGINX_VERSION:$NGINX_SHASUM
18
18
echo " docker build --build-arg NGINX_VERSION=$NGINX_VERSION --build-arg NGINX_SHASUM=$NGINX_SHASUM --tag $DIST -f " $RELEASE_DIR /Dockerfile.alpine" ."
19
19
docker build --build-arg NGINX_VERSION=" $NGINX_VERSION " --build-arg NGINX_SHASUM=" $NGINX_SHASUM " --tag $DIST -f " $RELEASE_DIR /Dockerfile.alpine" .
20
20
21
+ if [[ " $( docker images -q $DIST 2> /dev/null) " != " " ]]; then
22
+ echo " Push: $DIST " ;
23
+ docker push $DIST ;
24
+ fi
25
+
26
+
27
+
21
28
# Build For Debian
22
29
23
30
TAG=base-$NGINX_VERSION ;
@@ -28,3 +35,8 @@ echo "Build: $DIST";
28
35
echo $NGINX_VERSION :$NGINX_SHASUM
29
36
echo " docker build --build-arg NGINX_VERSION=$NGINX_VERSION --build-arg NGINX_SHASUM=$NGINX_SHASUM --tag $DIST -f " $RELEASE_DIR /Dockerfile.debian" ."
30
37
docker build --build-arg NGINX_VERSION=" $NGINX_VERSION " --build-arg NGINX_SHASUM=" $NGINX_SHASUM " --tag $DIST -f " $RELEASE_DIR /Dockerfile.debian" .
38
+
39
+ if [[ " $( docker images -q $DIST 2> /dev/null) " != " " ]]; then
40
+ echo " Push: $DIST " ;
41
+ docker push $DIST ;
42
+ fi
You can’t perform that action at this time.
0 commit comments