From 77e4913afce3dd3e71d648b1bd3d05b58a28746b Mon Sep 17 00:00:00 2001 From: monktan Date: Wed, 23 Feb 2022 20:52:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=95=9C=E5=83=8F=E6=89=93?= =?UTF-8?q?=E5=8C=85=E8=84=9A=E6=9C=AC=EF=BC=8C=E4=BF=AE=E6=94=B9=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=90=8D=E5=8D=B3=E5=8F=AF=E6=8E=A8=E9=80=81dockerhub?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build_docker_images.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build_docker_images.sh b/build_docker_images.sh index bfbf1768..2d527362 100644 --- a/build_docker_images.sh +++ b/build_docker_images.sh @@ -46,20 +46,20 @@ case $model in ;; esac -namespace="zlmediakit" -packagename="zlm-mediaserver" +namespace="tannzh" +packagename="zlmediakit" case $type in 'build') rm -rf ./build/CMakeCache.txt # 以腾讯云账号为例 - docker build --network=host --build-arg MODEL=$model -t ccr.ccs.tencentyun.com/$namespace/$packagename:$model.$version . + docker build --network=host --build-arg MODEL=$model -t $namespace/$packagename:$model.$version . ;; 'push') echo "push to dst registry" # 以腾讯云账号为例 - docker login --username=default_name ccr.ccs.tencentyun.com - docker push ccr.ccs.tencentyun.com/$namespace/$packagename:$model.$version + docker login --username=tannzh + docker push $namespace/$packagename:$model.$version ;; *) echo "unkonwn type"