From 66b7774d5c4d3e7da43c531ccf55fc824f143b57 Mon Sep 17 00:00:00 2001 From: CattySteve Date: Thu, 6 Jun 2024 07:48:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9docker=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index cdd766f..160ee1d 100644 --- a/build.sh +++ b/build.sh @@ -39,9 +39,10 @@ docker build -t galaxymusichallv2_convert . echo "[5/5] 推送docker镜像" if [ a$1 == apush ] then - docker tag galaxymusichallv2_convert:latest gitea.cattysteve.top/pig2014/galaxymusichallv2_convert:latest - docker login gitea.cattysteve.top -u pig2014 -p $2 - docker push 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 push gitea.cattysteve.top/pig2014/galaxymusichallv2_convert:latest + docker run -d -p 12400:8000 galaxymusichallv2_convert:latest echo "推送完成!" else echo "未指定推送参数,跳过中..."