-
Notifications
You must be signed in to change notification settings - Fork 407
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
Publish fails when using ko on Windows. #246
Comments
I don't have a windows machine to test this on, so I would appreciate your help testing #247 I'm also curious if specifying a local path to a build target works, e.g. We use I don't know of a way to tell go "hey please use filepath for this target GOOS/GOARCH, not the GOOS/GOARCH of my system", but I'll poke around. |
#247 works fine. Backslash is now properly replaced with forward slash. Windows supports forward slashes, but Linux does not support backslashes, so I think it is better to unify them with forward slashes.
and without local
It works. The 401 error is because my registry is not ready. Thanks. |
ko publish ./cmd/ko
|
Thank you for your help!
Does this break if you use backslash? Maybe not worth fixing but I am just curious. |
This fails. What you need to create is the URL path, not the operating system's file path.
|
Publish fails when using ko on Windows.
I think it's because it uses OS.Seperator. It looks like you need to replace filepath.join with path.join.
The text was updated successfully, but these errors were encountered: