diff --git a/builder.sh b/builder.sh index 1b70eb823fbbf469c51dce30960825b409b770eb..1e71bb1ebf12919442b2d13afe722cc9800d62e3 100755 --- a/builder.sh +++ b/builder.sh @@ -1,3 +1,4 @@ + #!/bin/bash git checkout $gitTag @@ -43,9 +44,8 @@ echo "清理旧构建..." rm -rf dist echo "开始构建..." +yarn yarn build -echo "构建Docker镜像并推送..." -docker buildx use desktop-linux docker buildx build --platform linux/amd64 -t $repo:$tag . --push #docker buildx build --platform linux/arm64 -t $repo:$tag . --push