Update GitHub action steps: Support uploading images to Qiniu Cloud

This commit is contained in:
Liujian committed 2025-07-20 22:53:25 +08:00
1 parent 0c0dd1cb56
commit 766e15c9ea
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -42,5 +42,5 @@ jobs:
SecretKey: ${{ secrets.SK }}
QINIU_BUCKET: ${{ secrets.QINIU_BUCKET }}
QINIU_NAME: ${{ secrets.QINIU_NAME }}
run: cd scripts && ./docker_publish.sh ${{ secrets.DOCKER_USERNAME }}
run: cd scripts && ./docker_publish.sh ${{ secrets.DOCKER_USERNAME }} upload_qiniu
+1 -1
View File
@@ -20,7 +20,7 @@ docker tag "${ImageName}:${Version}" "${ImageName}:latest"
echo "docker push \"${ImageName}:latest\""
docker push "${ImageName}:latest"
if [[ $3 == "upload_qiniu" ]];then
if [[ $2 == "upload_qiniu" ]];then
echo "Upload QINIU Cloud..."
./scripts/qiniu_publish.sh ${Version} ${ImageName}
fi