From 77e4913afce3dd3e71d648b1bd3d05b58a28746b Mon Sep 17 00:00:00 2001 From: monktan Date: Wed, 23 Feb 2022 20:52:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E6=89=93=E5=8C=85=E8=84=9A=E6=9C=AC=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D=E5=8D=B3=E5=8F=AF=E6=8E=A8=E9=80=81?= =?UTF-8?q?dockerhub?= 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" From b8f2bb5061a597078044d3e2a26308ccce9d1ab3 Mon Sep 17 00:00:00 2001 From: monktan Date: Thu, 24 Feb 2022 09:40:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E5=AE=98=E6=96=B9=E9=95=9C=E5=83=8F=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build_docker_images.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_docker_images.sh b/build_docker_images.sh index 2d527362..bc110256 100644 --- a/build_docker_images.sh +++ b/build_docker_images.sh @@ -46,7 +46,7 @@ case $model in ;; esac -namespace="tannzh" +namespace="zlmediakit" packagename="zlmediakit" case $type in @@ -58,7 +58,7 @@ case $type in 'push') echo "push to dst registry" # 以腾讯云账号为例 - docker login --username=tannzh + docker login --username=zlmediakit docker push $namespace/$packagename:$model.$version ;; *)