-
Notifications
You must be signed in to change notification settings - Fork 405
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
Fix GOROOT mismatch issues #303
Conversation
Print a warning if GOROOT is unset and ko's default build context differs from $(go env GOROOT) and use the result of $(go env GOROOT).
I'm open to opinions here about warning or not warning or whatever, let me know how you feel about spamming stderr. I worry that just inferring this automatically might break things that worked before without any kind of warning. |
Codecov Report
@@ Coverage Diff @@
## master #303 +/- ##
==========================================
- Coverage 38.10% 38.07% -0.04%
==========================================
Files 33 33
Lines 1501 1513 +12
==========================================
+ Hits 572 576 +4
- Misses 839 844 +5
- Partials 90 93 +3
Continue to review full report at Codecov.
|
Here I have modified my
|
Fantastic. |
Thanks for this @jonjohnsonjr 😻 |
I'm seeing this error now and do not understand it
I'm using the ko binary from the GitHub releases |
@benmoss it's a warning, not an error. Basically it's telling you it is inferring |
Yep, I've also filed #305 as a path forward for removing this warning altogether. |
Print a warning if GOROOT is unset and ko's default build context$(go env GOROOT) and use the result of $ (go env GOROOT).
differs from
Fixes #106