Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ DESCRIPTION
When building a function for the first time, either a registry or explicit
image name is required. Subsequent builds will reuse these option values.

Authentication
When --push is used, the 'build' command interacts with container registries to push the function image.
Authentication can be configured using environment variables:
- FUNC_USERNAME: Username for the registry
- FUNC_PASSWORD: Password for the registry
- FUNC_TOKEN: Token for the registry

These variables are used to authenticate with the registry specified by --registry.

EXAMPLES

o Build a function container using the given registry.
Expand Down
9 changes: 9 additions & 0 deletions cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ DESCRIPTION
selectors. Note that the domain specified must be one of those configured
or the flag will be ignored.

Authentication
The 'deploy' command interacts with container registries to push the function image.
Authentication can be configured using environment variables:
- FUNC_USERNAME: Username for the registry
- FUNC_PASSWORD: Password for the registry
- FUNC_TOKEN: Token for the registry

These variables are used to authenticate with the registry specified by --registry.

EXAMPLES

o Deploy the function
Expand Down
9 changes: 9 additions & 0 deletions docs/reference/func_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ DESCRIPTION
When building a function for the first time, either a registry or explicit
image name is required. Subsequent builds will reuse these option values.

Authentication
When --push is used, the 'build' command interacts with container registries to push the function image.
Authentication can be configured using environment variables:
- FUNC_USERNAME: Username for the registry
- FUNC_PASSWORD: Password for the registry
- FUNC_TOKEN: Token for the registry

These variables are used to authenticate with the registry specified by --registry.

EXAMPLES

o Build a function container using the given registry.
Expand Down
9 changes: 9 additions & 0 deletions docs/reference/func_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ DESCRIPTION
selectors. Note that the domain specified must be one of those configured
or the flag will be ignored.

Authentication
The 'deploy' command interacts with container registries to push the function image.
Authentication can be configured using environment variables:
- FUNC_USERNAME: Username for the registry
- FUNC_PASSWORD: Password for the registry
- FUNC_TOKEN: Token for the registry

These variables are used to authenticate with the registry specified by --registry.

EXAMPLES

o Deploy the function
Expand Down