-
Notifications
You must be signed in to change notification settings - Fork 175
Allow to build single binary in release mode #895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## main #895 +/- ##
=======================================
Coverage 81.61% 81.61%
=======================================
Files 233 233
Lines 7609 7609
=======================================
Hits 6210 6210
Misses 1171 1171
Partials 228 228 |
d87561a
to
683e27e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally but ENV=release make build
does not build for a single target as expected and make build
fails because ENV is not defined
Dockerfile
Outdated
COPY . . | ||
RUN make release | ||
RUN make build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing ENV=release here
683e27e
to
942da9d
Compare
Description
Does not allow to specify a single os/arch to be built. It is a gorelease limitation, actually to achieve this you must comment unwanted os and arches in goreleaser config file