Merge pull request #47 from CJackHwang/codex/fix-ci-workflow-errors-during-build ci: 增强 release-artifacts 工作流对 GHCR 超时与上传失败的容错#48
Conversation
…uring-build ci: 增强 release-artifacts 工作流对 GHCR 超时与上传失败的容错
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d1b8537cfb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| run: | | ||
| set -euo pipefail | ||
| for i in {1..6}; do | ||
| if curl -fsSIL --max-time 15 https://ghcr.io/v2/ >/dev/null; then |
There was a problem hiding this comment.
Remove
--fail from GHCR reachability probe
curl -fsSIL --max-time 15 https://ghcr.io/v2/ treats any HTTP status >=400 as an error (--fail behavior), but unauthenticated Docker Registry v2 probes commonly return 401 Unauthorized before login. In that case this loop never succeeds and the job exits before the subsequent GHCR login step, so release builds are blocked even when GHCR is reachable.
Useful? React with 👍 / 👎.
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
📝 补充信息 | Additional Information