mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 22:55:52 +08:00
Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit
This commit is contained in:
commit
bcb2810c62
@ -47,19 +47,19 @@ case $model in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
namespace="zlmediakit"
|
namespace="zlmediakit"
|
||||||
packagename="zlm-mediaserver"
|
packagename="zlmediakit"
|
||||||
|
|
||||||
case $type in
|
case $type in
|
||||||
'build')
|
'build')
|
||||||
rm -rf ./build/CMakeCache.txt
|
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')
|
'push')
|
||||||
echo "push to dst registry"
|
echo "push to dst registry"
|
||||||
# 以腾讯云账号为例
|
# 以腾讯云账号为例
|
||||||
docker login --username=default_name ccr.ccs.tencentyun.com
|
docker login --username=zlmediakit
|
||||||
docker push ccr.ccs.tencentyun.com/$namespace/$packagename:$model.$version
|
docker push $namespace/$packagename:$model.$version
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "unkonwn type"
|
echo "unkonwn type"
|
||||||
|
Loading…
Reference in New Issue
Block a user