From 1569d33715084d8a043497a4d18efb2af499777f Mon Sep 17 00:00:00 2001 From: Rajakavitha Kodhandapani Date: Sun, 1 Oct 2023 00:31:38 +0530 Subject: [PATCH] Update developer.md for KO environment variable (#295) * Update developer.md Signed-off-by: Rajakavitha Kodhandapani * Update developer.md Signed-off-by: Rajakavitha Kodhandapani --------- Signed-off-by: Rajakavitha Kodhandapani --- docs/developer/developer.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/developer/developer.md b/docs/developer/developer.md index 2a8656255..87027d16f 100644 --- a/docs/developer/developer.md +++ b/docs/developer/developer.md @@ -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/`). - -- **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/`. Currently Docker Hub doesn't let you create subdirs under your username.