From 472ed3186f75c0c9f3be8bc1ec500f79401efce9 Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Thu, 29 Apr 2021 01:38:56 +0000 Subject: [PATCH] Format markdown Signed-off-by: Knative Automation --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 687ed620b3..70ab46ab76 100644 --- a/README.md +++ b/README.md @@ -377,22 +377,24 @@ kustomize build config | ko resolve -f - Yes! Follow these steps: -* Connect to your OpenShift installation: https://docs.openshift.com/container-platform/4.7/cli_reference/openshift_cli/getting-started-cli.html#cli-logging-in_cli-developer-commands -* Expose the OpenShift Internal Registry so you can push to it: https://docs.openshift.com/container-platform/4.7/registry/securing-exposing-registry.html -* Export your token to `$HOME/.docker/config.json`: +- Connect to your OpenShift installation: + https://docs.openshift.com/container-platform/4.7/cli_reference/openshift_cli/getting-started-cli.html#cli-logging-in_cli-developer-commands +- Expose the OpenShift Internal Registry so you can push to it: + https://docs.openshift.com/container-platform/4.7/registry/securing-exposing-registry.html +- Export your token to `$HOME/.docker/config.json`: ```sh oc registry login --to=$HOME/.docker/config.json ``` -* Create a namespace where you will push your images, i.e: `ko-images` -* Execute this command to set `KO_DOCKER_REPO` to publish images to the internal registry. +- Create a namespace where you will push your images, i.e: `ko-images` +- Execute this command to set `KO_DOCKER_REPO` to publish images to the internal + registry. ```sh export KO_DOCKER_REPO=$(oc get route default-route -n openshift-image-registry --template='{{ .spec.host }}')/ko-images ``` - # Acknowledgements This work is based heavily on learnings from having built the