Skip to content

Commit

Permalink
docs(ko): Default repo for ko:// prefixed images
Browse files Browse the repository at this point in the history
Document that `ko` builder users who use the `ko://` prefix must set the
default repo if pushing images to a registry.

Related: GoogleContainerTools#6933
Tracking: GoogleContainerTools#6041
  • Loading branch information
halvards committed Jan 12, 2022
1 parent d15f959 commit 1d4388a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/content/en/docs/pipeline-stages/builders/ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d4388a

Please sign in to comment.