deploy:修改build.sh
This commit is contained in:
parent
d4bd8d4f4f
commit
c930a5bd6d
9
build.sh
9
build.sh
@ -8,4 +8,11 @@ touch openRenamerBackend/static/.gitkeep
|
||||
mv openRenamerFront/dist/* openRenamerBackend/static
|
||||
|
||||
# docker镜像打包
|
||||
# docker build -t fleyx/open-renamer:0.3 .
|
||||
if [ ! -n $0 ]; then
|
||||
echo "请传入版本号参数,如:bash build.sh 0.8"
|
||||
return 0
|
||||
fi
|
||||
# 单平台打包并推送
|
||||
#docker build -t fleyx/open-renamer:$0 --push .
|
||||
# 多平台打包并推送
|
||||
docker buildx build -t fleyx/open-renamer:$0 --platform linux/amd64,linux/arm64 --push .
|
Loading…
x
Reference in New Issue
Block a user