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"