@@ -39,9 +39,10 @@ docker build -t galaxymusichallv2_convert .
|
|||||||
echo "[5/5] 推送docker镜像"
|
echo "[5/5] 推送docker镜像"
|
||||||
if [ a$1 == apush ]
|
if [ a$1 == apush ]
|
||||||
then
|
then
|
||||||
docker tag galaxymusichallv2_convert:latest gitea.cattysteve.top/pig2014/galaxymusichallv2_convert:latest
|
#docker tag galaxymusichallv2_convert:latest gitea.cattysteve.top/pig2014/galaxymusichallv2_convert:latest
|
||||||
docker login gitea.cattysteve.top -u pig2014 -p $2
|
#docker login gitea.cattysteve.top -u pig2014 -p $2
|
||||||
docker push gitea.cattysteve.top/pig2014/galaxymusichallv2_convert:latest
|
#docker push gitea.cattysteve.top/pig2014/galaxymusichallv2_convert:latest
|
||||||
|
docker run -d -p 12400:8000 galaxymusichallv2_convert:latest
|
||||||
echo "推送完成!"
|
echo "推送完成!"
|
||||||
else
|
else
|
||||||
echo "未指定推送参数,跳过中..."
|
echo "未指定推送参数,跳过中..."
|
||||||
|
|||||||
Reference in New Issue
Block a user