From 4db84e95f3fc63e18dcbb653660acd02cb141c7f Mon Sep 17 00:00:00 2001 From: Alexandre Badez Date: Mon, 6 May 2024 16:56:47 +0200 Subject: [PATCH 1/2] docs: update docs on mirrors and registry map. --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7f21604698..d554a31611 100644 --- a/README.md +++ b/README.md @@ -1010,7 +1010,7 @@ Expected format is `original-registry=remapped-registry[;another-reg=another-remap[;...]]` for example. -Note that you can't specify a URL with scheme for this flag. Some valid options +Note that you **can** specify a URL with scheme for this flag. Some valid options are: - `index.docker.io=mirror.gcr.io` @@ -1019,6 +1019,7 @@ are: - `index.docker.io=docker-io.mirrors.corp.net;index.docker.io=mirror.gcr.io;gcr.io=127.0.0.1` will try `docker-io.mirrors.corp.net` then `mirror.gcr.io` for `index.docker.io` and `127.0.0.1` for `gcr.io` +- `docker.io=harbor.provate.io/theproject` #### Flag `--registry-mirror` @@ -1030,15 +1031,16 @@ the next mirror(s), and at the end fallback on the default registry. Mirror can also be defined through `KANIKO_REGISTRY_MIRROR` environment variable. -Expected format is `mirror.gcr.io` for example. +Expected format is `mirror.gcr.io/path` for example. -Note that you can't specify a URL with scheme for this flag. Some valid options +Note that you **can** specify a URL with scheme for this flag. Some valid options are: - `mirror.gcr.io` - `127.0.0.1` - `192.168.0.1:5000` - `mycompany-docker-virtual.jfrog.io` +- `harbor.provate.io/theproject` #### Flag `--skip-default-registry-fallback` From 20bdd9359382547e9e65254585bb7203d14ad48b Mon Sep 17 00:00:00 2001 From: Aaron Prindle Date: Mon, 13 May 2024 22:34:56 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d554a31611..ec9b2e2475 100644 --- a/README.md +++ b/README.md @@ -1031,7 +1031,7 @@ the next mirror(s), and at the end fallback on the default registry. Mirror can also be defined through `KANIKO_REGISTRY_MIRROR` environment variable. -Expected format is `mirror.gcr.io/path` for example. +Expected format is `mirror.gcr.io` or `mirror.gcr.io/path` for example. Note that you **can** specify a URL with scheme for this flag. Some valid options are: