mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
七牛云登录
This commit is contained in:
@@ -91,5 +91,6 @@ jobs:
|
||||
AccessKey: ${{ secrets.AK }}
|
||||
SecretKey: ${{ secrets.SK }}
|
||||
QINIU_BUCKET: ${{ secrets.QINIU_BUCKET }}
|
||||
QINIU_NAME: ${{ secrets.QINIU_NAME }}
|
||||
run: cd scripts && ./docker_publish.sh ${{ secrets.DOCKER_USERNAME }} "backend" "upload_qiniu"
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ echo "docker save -o ${Tar} ${ImageName}:${Version}"
|
||||
docker save -o ${Tar} ${ImageName}:${Version}
|
||||
|
||||
echo "login qiniu..."
|
||||
qshell account ${AccessKey} ${SecretKey}
|
||||
qshell account ${AccessKey} ${SecretKey} ${QINIU_NAME}
|
||||
|
||||
echo "qshell rput ${QINIU_BUCKET} \"${APP}/images/${Tar}\" ${Tar}"
|
||||
qshell rput ${QINIU_BUCKET} "${APP}/images/${Tar}" ${Tar}
|
||||
|
||||
Reference in New Issue
Block a user