Skip to content
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: safer way to install google/ko #889

Merged
merged 2 commits into from
Oct 13, 2021

Conversation

developer-guy
Copy link
Member

Signed-off-by: Batuhan Apaydın [email protected]

Summary

we can use the go install with the GOBIN option to install ko under /usr/local/bin safelly.

QA Test Steps:

$ GOOGLE_KO_DIR=$(pwd)/bin 
$ GOOGLE_KO_BIN=$GOOGLE_KO_DIR/ko
$ GOBIN=$(GOOGLE_KO_BIN) go install github.com/google/[email protected]

Ticket Link

Fixes #888

Release Note

fix: safer way to install google/ko

Signed-off-by: Batuhan Apaydın <[email protected]>
@developer-guy developer-guy changed the title fix: safer way to install google/ko WIP: fix: safer way to install google/ko Oct 13, 2021
@developer-guy
Copy link
Member Author

There are other places that use the same curl, we should fix them before merging it, @erkanzileli and @Dentrax will give this a hand:

Signed-off-by: Erkan Zileli <[email protected]>
Co-authored-by: Batuhan Apaydın <[email protected]>
Co-authored-by: Furkan Türkal <[email protected]>
@developer-guy developer-guy changed the title WIP: fix: safer way to install google/ko fix: safer way to install google/ko Oct 13, 2021
@developer-guy
Copy link
Member Author

we are ready. lets merge this 🥳🚀

@dlorenc dlorenc merged commit 4c5112c into sigstore:main Oct 13, 2021
@github-actions github-actions bot added this to the v1.3.0 milestone Oct 13, 2021
developer-guy added a commit to developer-guy/cosign that referenced this pull request Oct 14, 2021
* fix: safer way to install google/ko

Signed-off-by: Batuhan Apaydın <[email protected]>

* fix: update other ko installations as 'go install'

Signed-off-by: Erkan Zileli <[email protected]>
Co-authored-by: Batuhan Apaydın <[email protected]>
Co-authored-by: Furkan Türkal <[email protected]>

Co-authored-by: Erkan Zileli <[email protected]>
Co-authored-by: Furkan Türkal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use sget or go install to install google/ko
5 participants