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

ko support the specified package name as image name #206

Closed
qmloong opened this issue Sep 28, 2020 · 1 comment
Closed

ko support the specified package name as image name #206

qmloong opened this issue Sep 28, 2020 · 1 comment

Comments

@qmloong
Copy link

qmloong commented Sep 28, 2020

I will get image <DOCKER_REPO>/net-istio/controller when I run this cmd
KO_DOCKER_REPO=<DOCKER_REPO>/net-istio ko publish -B -t v0.16.1 ./cmd/controller/

but sometimes I want to rename docker repo image name, like <DOCKER_REPO>/net-istio/networking-istio-controller.

may ko support the -o networking-istio-controller options?

@jonjohnsonjr
Copy link
Collaborator

jonjohnsonjr commented Nov 10, 2020

With #234 merged, you should be able to do this:

KO_DOCKER_REPO="<registry>/net-istio/networking-istio-controller" ko publish --bare ./cmd/controller/

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

No branches or pull requests

2 participants