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
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user