Skip to content

Commit

Permalink
提示当前的版本标签
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohq committed Jul 25, 2021
1 parent d1f462d commit cd01c2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit cd01c2e

Please sign in to comment.