Skip to content

Commit

Permalink
Update developer.md for KO environment variable (#295)
Browse files Browse the repository at this point in the history
* Update developer.md

Signed-off-by: Rajakavitha Kodhandapani <[email protected]>

* Update developer.md

Signed-off-by: Rajakavitha Kodhandapani <[email protected]>

---------

Signed-off-by: Rajakavitha Kodhandapani <[email protected]>
  • Loading branch information
Rajakavitha1 authored Sep 30, 2023
1 parent 1daec10 commit 1569d33
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/developer/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@ recommend adding them to your `.bashrc`):
`export GOPATH=...`
1. `$GOPATH/bin` on `PATH`: This is so that tooling installed via `go get` will
work properly.
1. `KO_DEFAULTPLATFORMS`: If you are using M1 Mac book the value is `linux/arm64`.
1. `KO_DOCKER_REPO`: The docker repository to which developer images should be
pushed (e.g. `docker.io/<username>`).

- **Note**: Set up a docker repository for pushing images. You can use any container image registry by adjusting
the authentication methods and repository paths mentioned in the sections below.
- [Google Container Registry quickstart](https://cloud.google.com/container-registry/docs/pushing-and-pulling)
- [Docker Hub quickstart](https://docs.docker.com/docker-hub/)
- [Azure Container Registry quickstart](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-get-started-portal)
**Note**: Set up a docker repository for pushing images. You can use any container image registry by adjusting
the authentication methods and repository paths mentioned in the sections below.
* [Google Container Registry quickstart](https://cloud.google.com/container-registry/docs/pushing-and-pulling)
* [Docker Hub quickstart](https://docs.docker.com/docker-hub/)
* [Azure Container Registry quickstart](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-get-started-portal)
!!! Note
if you are using docker hub to store your images your `KO_DOCKER_REPO` variable should be `docker.io/<username>`.
Currently Docker Hub doesn't let you create subdirs under your username.
Expand Down

0 comments on commit 1569d33

Please sign in to comment.