Merge pull request #26 from xpack-ai/feature/0.3-backend
update qiniu upload script
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -32,7 +32,7 @@ jobs:
|
||||
- name: Setup qshell
|
||||
uses: foxundermoon/setup-qshell@v5
|
||||
with:
|
||||
version: 'v2.16.1'
|
||||
version: '2.13.0'
|
||||
- name: build
|
||||
run: |
|
||||
cd scripts && ./docker_build.sh ${{ secrets.DOCKER_USERNAME }}
|
||||
|
||||
@@ -17,7 +17,7 @@ echo "login qiniu..."
|
||||
qshell account ${AccessKey} ${SecretKey} ${QINIU_NAME}
|
||||
|
||||
echo "qshell rput ${QINIU_BUCKET} \"xpack/images/${Tar}\" ${Tar}"
|
||||
qshell rput --part-size 2097152 --thread-count 4 ${QINIU_BUCKET} "xpack/images/${Tar}" ${Tar}
|
||||
qshell rput --thread-count 4 ${QINIU_BUCKET} "xpack/images/${Tar}" ${Tar}
|
||||
|
||||
rm -f ${Tar}
|
||||
docker rmi -f ${ImageName}:${Version}
|
||||
Reference in new issue
Block a user