diff --git a/docs/snippets/proc-building-function.md b/docs/snippets/proc-building-function.md index cffbbe33c2..505c2132af 100644 --- a/docs/snippets/proc-building-function.md +++ b/docs/snippets/proc-building-function.md @@ -2,7 +2,7 @@ - /docs/getting-started/build-run-deploy-func.md - /docs/functions/building-functions.md --> -The `build` command uses the project name and the image registry name to construct a fully qualified container image name for the function. If the function project has not previously been built, you are prompted to provide an image registry. +The `build` command uses the project name and the image registry name to construct a fully qualified container image name for the function. If the function project has not previously been built, you are prompted to provide an **image registry**. === "func" @@ -19,3 +19,6 @@ The `build` command uses the project name and the image registry name to constru ```bash kn func build ``` + +!!! note + The coordinates for the **image registry** can be configured through an environment variable (`FUNC_REGISTRY`) as well. diff --git a/docs/snippets/proc-running-function.md b/docs/snippets/proc-running-function.md index e968f40767..c91636d79d 100644 --- a/docs/snippets/proc-running-function.md +++ b/docs/snippets/proc-running-function.md @@ -16,6 +16,9 @@ The `run` command builds an image for your function if required, and runs this i func run [--registry ] ``` +!!! note + The coordinates for the **image registry** can be configured through an environment variable (`FUNC_REGISTRY`) as well. + Using this command also builds the function if necessary. You can force a rebuild of the image by running the command: