fix: 修复CI中docker login变量名错误,改用GITEA_TOKEN
Deploy / Deploy Staging (push) Failing after 137h56m37s
CI/CD Pipeline / Frontend Lint (push) Failing after 137h56m45s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 137h56m45s
Deploy / Production Browser E2E (push) Failing after 1796h32m5s
Deploy / Staging E2E Tests (push) Failing after 1796h32m5s
Deploy / Build Production Runtime Images (push) Failing after 1796h32m9s
Deploy / Deploy Production (push) Failing after 1796h32m7s

This commit is contained in:
xiaoxia
2026-07-03 18:57:14 +08:00
parent e25fd86171
commit 9c154a94cb
+1 -1
View File
@@ -73,7 +73,7 @@ jobs:
CACHE_BRANCH="${GITHUB_REF_NAME//\//-}"
# 登录 Gitea Registry(用于构建缓存)
echo "${GITHUB_TOKEN}" | docker login git.xiaoxiajianji.com -u xiaoxia --password-stdin
printf '%s' "${GITEA_TOKEN}" | docker login git.xiaoxiajianji.com -u xiaoxia --password-stdin
# 确保 buildx builder 可用
docker buildx use default || docker buildx create --use --name default-builder 2>/dev/null || true