[patch] 修正ks3问题且优化pillow依赖安装时间

This commit is contained in:
Gitea Actions Bot
2025-10-11 17:09:09 +08:00
parent 5c73bbf8bc
commit d8154025ea
6 changed files with 52 additions and 20 deletions

View File

@@ -96,9 +96,10 @@ def upload_installer(connection, installer_path):
policy='public-read' # Set ACL policy
)
# Generate download URL (using HTTPS)
# Generate download URL (using KS3 third-level domain format)
# Format: https://{bucket}.{endpoint}/{key}
protocol = 'https' if KS3_IS_SECURE else 'http'
download_url = f"{protocol}://{KS3_ENDPOINT}/{KS3_BUCKET}/{ks3_key}"
download_url = f"{protocol}://{KS3_BUCKET}.{KS3_ENDPOINT}/{ks3_key}"
logger.info(f"Upload successful!")
logger.info(f"Download URL: {download_url}")