Repository navigation
ci: add Docker image release workflow - #431
Conversation
Add automated Docker image publishing to Docker Hub on push to main when Dockerfile or pyproject.toml changes. Supports manual dispatch with optional tag override. - .github/workflows/release-docker.yml: new workflow that builds multi-platform images (linux/amd64, linux/arm64) using QEMU and Docker Buildx, pushes versioned and latest tags to lightseekorg/smg on Docker Hub, with GHA layer caching Signed-off-by: Simo Lin <simo.lin@oracle.com>
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
📝 WalkthroughWalkthroughA new GitHub Actions workflow is introduced that automates building and pushing multi-architecture Docker images to Docker Hub when code is pushed to main or manually triggered, with version extraction from tags or pyproject.toml. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related issues
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Comment |
Signed-off-by: Simo Lin <linsimo.mark@gmail.com> Signed-off-by: ppraneth <pranethparuchuri@gmail.com>
Summary
Add automated Docker image publishing to Docker Hub for multi-platform builds.
What changed
.github/workflows/release-docker.yml: New workflow that:mainwhendocker/Dockerfileorbindings/python/pyproject.tomlchangeslinux/amd64,linux/arm64) using QEMU + Docker Buildxlightseekorg/smg:<version>) andlatesttags to Docker Hubpyproject.tomlby defaultPrerequisites
GitHub secrets
DOCKERHUB_USERNAMEandDOCKERHUB_TOKENhave been configured on the repo.Test plan
workflow_dispatchto verify build and pushlightseekorg/smg:<version>andlightseekorg/smg:latestappear on Docker HubSummary by CodeRabbit