ci: fix release workflow — tags only, GitHub Release, faster arm64 builds#111
Merged
Conversation
mohit-nagaraj
requested review from
Kshitijknk07,
Naman-B-Parlecha and
rishichirchi
as code owners
April 14, 2026 07:18
There was a problem hiding this comment.
Code Review
This pull request updates the Dockerfile to include the --platform=$BUILDPLATFORM flag in the builder stage for multi-platform support. A review comment identifies that this change could break standard Docker builds without BuildKit, as the variable is not automatically populated, and suggests defining the argument with a default value before the FROM instruction.
mohit-nagaraj
force-pushed
the
fix/release-workflow
branch
from
April 14, 2026 08:01
59eabe0 to
8edcdf3
Compare
…uild speed - Trigger only on version tags (v*), not on every push to main - Add GitHub Release creation so releases appear in the Releases tab - Push versioned + latest tags to ghcr.io/kubeorch/core - Add FROM --platform=\$BUILDPLATFORM to builder stage so Go cross-compiles natively instead of running under QEMU emulation (dramatically faster arm64 builds) Signed-off-by: Mohit Nagaraj <mohitnagaraj20@gmail.com>
mohit-nagaraj
force-pushed
the
fix/release-workflow
branch
from
April 14, 2026 13:00
8edcdf3 to
25e636f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v*tags only, not on every push to main (was incorrectly building on every merge)FROM --platform=$BUILDPLATFORMto the Go builder stage so Go cross-compiles natively instead of running the compiler under QEMU emulation (10-20× speed improvement for arm64)After merging
Tag all three repos at the same version to publish a unified release:
git tag v0.0.3 && git push origin v0.0.3This will push
ghcr.io/kubeorch/core:v0.0.3+:latestand create the GitHub Release entry.Test plan
git push origin v*ghcr.io/kubeorch/core)