CI: Push Docker images for pull requests and main#1100
CI: Push Docker images for pull requests and main#1100losolio wants to merge 1 commit intoFirelyTeam:r4/masterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR enables automated Docker image publishing to DockerHub after successful integration tests, supporting a multi-environment deployment strategy. Images are tagged differently based on the trigger: :canary for pushes to r4/master (staging), and :edge-<sha> for pull requests (development/preview environments). External fork PRs are excluded from publishing for security.
Changes:
- Migrated from simple
docker buildcommands to GitHub Actions' build-push-action with multi-architecture support (amd64, arm64) - Added automated Docker image pushing after successful tests with environment-specific tagging
- Implemented PR commenting to inform developers of the published image tags for testing
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
43b0dde to
95c9676
Compare
kennethmyhra
left a comment
There was a problem hiding this comment.
I like the canary build, we can drop the edge build for now
| env: | ||
| DOCKERHUB_ORG: sparkfhir |
There was a problem hiding this comment.
We can swap this one out with the one from our secrets secrets.DOCKERHUB_ORGANIZATION. See
spark/.github/workflows/docker_image_linux.yml
Lines 42 to 45 in 0c2903f
379d1b7 to
5099222
Compare
Enables automated Docker image publishing with canary tags after pushes to r4/master.
5099222 to
bd335f3
Compare
|
Closing this for now. Should be rethought later. |
Enables automated Docker image publishing after successful integration tests, supporting multi-environment Kubernetes workflows:
:canarytag - automatically updated on every r4/master push