fixed a url bug
Build and Push Edge Proxy Image / build-and-push (push) Failing after 0s Details

This commit is contained in:
GuanYuankai 2025-11-11 13:24:38 +08:00
parent c6f277cf33
commit 2bdb5a9bc6
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ jobs:
# 2. 构造带有身份验证的 Git URL
# 我们将使用您用于 Docker 登录的 gitea.actor 和 secrets.cicd
# gitea.repository_url = http://192.168.0.75:3000/guanyuankai/bonus-edge-proxy
gitea.repository_url = http://192.168.0.75:3000/guanyuankai/bonus-edge-proxy
# 转换后 = http://guanyuankai:YOUR_SECRET@192.168.0.75:3000/guanyuankai/bonus-edge-proxy.git
echo "构造 Git URL..."
REPO_URL_WITH_CREDS=$(echo "${{ gitea.repository_url }}" | sed "s|://|://${{ gitea.actor }}:${{ secrets.cicd }}@|").git