mirror of https://github.com/knative/docs.git
Adding some context for the FUNC_REGISTRY variable and highlighting the fact that the prompt asks for an image registry (#5677)
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
This commit is contained in:
parent
02b135d4be
commit
803942b55e
|
@ -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.
|
||||
|
|
|
@ -16,6 +16,9 @@ The `run` command builds an image for your function if required, and runs this i
|
|||
func run [--registry <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:
|
||||
|
|
Loading…
Reference in New Issue