Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ac535e6e11
ℹ️ 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".
| type=semver,pattern={{version}} | ||
| type=semver,pattern={{major}}.{{minor}} | ||
| type=semver,pattern={{major}} | ||
| type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }} |
There was a problem hiding this comment.
Gate
latest tag to stable releases only
The metadata rule currently publishes latest for any tag whose ref starts with refs/tags/v, so creating a pre-release tag like v1.4.0-rc.1 (or any non-final v* tag) will overwrite the public latest image with a non-stable build. This can break users who pull :latest expecting the most recent stable release; consider restricting this condition to stable semver tags (e.g., excluding tags with a prerelease suffix).
Useful? React with 👍 / 👎.
What changed
.github/workflows/container.ymlmainnow build the container image without pushingmainand version tags likev0.2.0now publish the image toghcr.io/che-zhu/codex-gatewayREADME.mdandREADME_zh.mdWhy
Impact
maingets a container build checkmainpublishmainandsha-*image tagslatestValidation
docker build --platform linux/amd64 -t codex-gateway:local-test .GET /healthzreturned success