更新 .github/workflows/buidl_and_push_ghcr.yml
All checks were successful
Build with Kaniko (Hardcoded No Vars) / build (push) Successful in 1m46s

This commit is contained in:
2025-12-18 15:22:34 +00:00
parent 8d546b1301
commit 934c9d731f

View File

@@ -26,7 +26,7 @@ jobs:
"
echo '正在生成认证信息...' &&
echo '{\"auths\":{\"gitea-http.gitea.svc.cluster.local:3000\":{\"username\":\"${{ gitea.actor }}\",\"password\":\"${{ secrets.GITHUB_TOKEN }}\"}}}' > /kaniko/.docker/config.json &&
echo '{\"auths\":{\"gitea-http.gitea.svc.cluster.local:3000\":{\"username\":\"${{ gitea.actor }}\",\"password\":\"${{ secrets.PACKAGES_TOKEN }}\"}}}' > /kaniko/.docker/config.json &&
echo '认证文件已生成,开始构建...' &&