Skip to content

ci: add GHCR Docker image push to CI pipeline#30

Merged
hoangsonww merged 1 commit into
masterfrom
feat/ci-ghcr-push
Mar 21, 2026
Merged

ci: add GHCR Docker image push to CI pipeline#30
hoangsonww merged 1 commit into
masterfrom
feat/ci-ghcr-push

Conversation

@hoangsonww

Copy link
Copy Markdown
Owner

This pull request updates the CI workflow to improve Docker build and deployment processes. The main changes include renaming and enhancing the Docker build job, adding a new job to push Docker images to GitHub Container Registry (GHCR), and streamlining the smoke test steps.

Docker workflow improvements:

  • Renamed the docker job to docker-build and updated its name to include an emoji and clarify that it performs both the Docker build and smoke test.
  • Streamlined the smoke test step by removing redundant comments and ensuring the health check is performed efficiently.

Automated Docker image publishing:

  • Added a new docker-ghcr job that runs after a successful Docker build, logs into GHCR, and pushes both a SHA-tagged and a latest Docker image to the registry. This job only runs on push events and is configured with appropriate permissions.

Add docker-ghcr job that builds and pushes the production image to
ghcr.io on every push to master/main (skipped on PRs). Tags with
both commit SHA and :latest. Requires packages:write permission.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hoangsonww hoangsonww self-assigned this Mar 21, 2026
@hoangsonww hoangsonww added bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request good first issue Good for newcomers labels Mar 21, 2026
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@hoangsonww
hoangsonww merged commit 443716a into master Mar 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request good first issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant