Skip to content

ci: publish backend image to GHCR - #353

Merged
znnnnnnn-wil merged 1 commit into
1024XEngineer:mainfrom
znnnnnnn-wil:codex/publish-backend-image-ghcr
Aug 24, 2026
Merged

znnnnnnn-wil merged 1 commit into
1024XEngineer:mainfrom
znnnnnnn-wil:codex/publish-backend-image-ghcr

Conversation

@znnnnnnn-wil

Copy link
Copy Markdown
Contributor
  • 在 main CI 的 backend、migrations、frontend 三个 Job 全部通过后构建 backend Docker image
  • 发布镜像到 GHCR
  • 同时生成 latest 和 commit SHA 两个 tag
  • pull_request 阶段不会发布镜像
  • 没有增加自动生产部署

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the added GHCR publication job and its integration with the existing CI workflow. The job is limited to pushes on main, waits for backend, migrations, and frontend to succeed, uses job-scoped packages: write permission for GITHUB_TOKEN, and publishes the backend Docker context with both latest and commit-SHA tags.

Validation: the fixed SHA diff was inspected; the backend Dockerfile and .dockerignore match context: ./backend; the current PR run has backend and migration jobs passing while the frontend job remains in progress. I found no actionable correctness or regression issue in the changed lines.

@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@znnnnnnn-wil
znnnnnnn-wil merged commit 81fca2f into 1024XEngineer:main Aug 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants