From 63b7b371133ad927d96eb1400c45c9e419770902 Mon Sep 17 00:00:00 2001 From: "huanqing.shao" Date: Thu, 3 Oct 2019 21:06:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=9E=84=E5=BB=BA=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index 512d94e..d1070ca 100755 --- a/build.sh +++ b/build.sh @@ -1,16 +1,16 @@ #!/bin/bash datetime=`date +%Y%m%d-%H%M%S` -echo $datetime +# echo $datetime tag=eipwork/kuboard-press npm install --registry=https://registry.npm.taobao.org npm run docs:build -docker build -t $tag:latest . +# docker build -t $tag:latest . -if test $datetime != ""; then - # docker push $tag:latest - docker tag $tag:latest $tag:$datetime - docker push $tag:$datetime -fi +# if test $datetime != ""; then +# # docker push $tag:latest +# docker tag $tag:latest $tag:$datetime +# docker push $tag:$datetime +# fi