Repository navigation
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. |
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughA new GitHub Actions workflow automates Docker image building and publishing to Docker Hub. It triggers on pushes to main (for docker/Dockerfile and bindings/python/pyproject.toml changes) or manual dispatch, determines image version from input or configuration file, sets up multi-architecture build infrastructure, and publishes images for both amd64 and arm64 architectures. Changes
Possibly related issues
Suggested labels
Suggested reviewers
Poem
Estimated code review effort: 🎯 2 (Simple) | ⏱️ ~15 minutes ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
Hi @slin1237, the branch Please use one of the following formats:
Allowed types:
|
|
|
|
Hi @slin1237, the branch Please use one of the following formats:
Allowed types:
|
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