Skip to content

Commit

Permalink
Merge pull request ko-build#100 from syedriko/image_registry_auth_note
Browse files Browse the repository at this point in the history
Added a note on logging in to the image registry KO_DOCKER_REPO points at
  • Loading branch information
imjasonh authored Oct 18, 2019
2 parents 57f20d0 + 26dcb6f commit 267b61e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 267b61e

Please sign in to comment.