1
0
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:
Jason Hall 2019-10-18 11:44:32 -04:00 committed by GitHub
commit 267b61e6ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.