feat: 自动更新从 list.yaml 下载最新文件

This commit is contained in:
CI/CD
2025-04-17 16:11:44 +00:00
parent 3e64761295
commit 09030a9217
2 changed files with 1390 additions and 1353 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -101,6 +101,11 @@ fi
DEFAULT_REPO_FILE="docker-ce.repo"
if [ -z "$REPO_FILE" ]; then
REPO_FILE="$DEFAULT_REPO_FILE"
# Automatically default to a staging repo fora
# a staging download url (download-stage.docker.com)
case "$DOWNLOAD_URL" in
*-stage*) REPO_FILE="docker-ce-staging.repo";;
esac
fi
mirror=''