提示当前的版本标签
This commit is contained in:
3
build.sh
3
build.sh
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
datetime=`date +%Y%m%d-%H%M%S`
|
datetime=`date +%Y%m%d-%H%M%S`
|
||||||
# echo $datetime
|
echo $datetime
|
||||||
tag=swr.cn-east-2.myhuaweicloud.com/kuboard/kuboard-press
|
tag=swr.cn-east-2.myhuaweicloud.com/kuboard/kuboard-press
|
||||||
|
|
||||||
yarn install
|
yarn install
|
||||||
@@ -13,4 +13,5 @@ if test $datetime != ""; then
|
|||||||
# docker push $tag:latest
|
# docker push $tag:latest
|
||||||
docker tag $tag:latest $tag:$datetime
|
docker tag $tag:latest $tag:$datetime
|
||||||
docker push $tag:$datetime
|
docker push $tag:$datetime
|
||||||
|
echo pushded $tag:$datetime
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user