From 1d4388a2ddd05b2491306266e00c91406c31c50a Mon Sep 17 00:00:00 2001 From: Halvard Skogsrud Date: Thu, 13 Jan 2022 09:07:55 +1100 Subject: [PATCH] docs(ko): Default repo for `ko://` prefixed images Document that `ko` builder users who use the `ko://` prefix must set the default repo if pushing images to a registry. Related: #6933 Tracking: #6041 --- docs/content/en/docs/pipeline-stages/builders/ko.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/content/en/docs/pipeline-stages/builders/ko.md b/docs/content/en/docs/pipeline-stages/builders/ko.md index 95783ee259c..87f79e10091 100644 --- a/docs/content/en/docs/pipeline-stages/builders/ko.md +++ b/docs/content/en/docs/pipeline-stages/builders/ko.md @@ -243,6 +243,10 @@ Useful tips for existing `ko` users: Skaffold removes the `ko://` prefix, if present, before determining the image name. +- If your image references use the `ko://` prefix _and_ you are pushing the + images to a registry, you must set the + [default repo]({{< relref "/docs/environment/image-registries" >}}). + - The ko builder supports reading [base image configuration](https://github.com/google/ko#overriding-base-images) from the `.ko.yaml` file. If you already configure your base images using