mirror of
https://github.com/ko-build/ko.git
synced 2024-12-12 08:54:09 +02:00
Merge pull request #100 from syedriko/image_registry_auth_note
Added a note on logging in to the image registry KO_DOCKER_REPO points at
This commit is contained in:
commit
267b61e6ed
@ -116,6 +116,10 @@ customresourcedefinition.apiextensions.k8s.io/warmimages.mattmoor.io configured
|
||||
their execution. By default, `ko` publishes images to a Docker Registry
|
||||
specified via `KO_DOCKER_REPO`.
|
||||
|
||||
**Note**: You'll need to be authenticated with your `KO_DOCKER_REPO` before pushing
|
||||
images. Run `gcloud auth configure-docker` if you are using Google Container
|
||||
Registry or `docker login` if you are using Docker Hub.
|
||||
|
||||
However, these same commands can be directed to operate locally as well via
|
||||
the `--local` or `-L` command (or setting `KO_DOCKER_REPO=ko.local`). See
|
||||
the [`minikube` section](./README.md#with-minikube) for more detail.
|
||||
|
Loading…
Reference in New Issue
Block a user