提示当前的版本标签

This commit is contained in:
Shao Huan Qing
2021-07-25 20:46:04 +08:00
parent d1f462d589
commit cd01c2e4fe

View File

@ -1,6 +1,6 @@
#!/bin/bash
datetime=`date +%Y%m%d-%H%M%S`
# echo $datetime
echo $datetime
tag=swr.cn-east-2.myhuaweicloud.com/kuboard/kuboard-press
yarn install
@ -13,4 +13,5 @@ if test $datetime != ""; then
# docker push $tag:latest
docker tag $tag:latest $tag:$datetime
docker push $tag:$datetime
echo pushded $tag:$datetime
fi