You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
258 B

workDir=$(cd `dirname $0`; pwd)
imagesName=$(basename $workDir | tr "[A-Z]" "[a-z]")
docker build -t registry.cn-hangzhou.aliyuncs.com/god-team/client-$imagesName -f $workDir .
docker push registry.cn-hangzhou.aliyuncs.com/god-team/client-$imagesName:latest