mirror of https://github.com/knative/docs.git
Correct the command for build auth. (#907)
If there are multiple YAML files for kubectl, all files should be specified by -f option.
This commit is contained in:
parent
025a5fb602
commit
f6dbdb53a7
|
@ -80,7 +80,7 @@ into their respective files in `$HOME`.
|
|||
1. Execute the build:
|
||||
|
||||
```shell
|
||||
kubectl apply --filename secret.yaml serviceaccount.yaml build.yaml
|
||||
kubectl apply --filename secret.yaml --filename serviceaccount.yaml --filename build.yaml
|
||||
```
|
||||
|
||||
When the build executes, before steps execute, a `~/.ssh/config` will be
|
||||
|
@ -137,7 +137,7 @@ to authenticate with the Git service.
|
|||
1. Execute the build:
|
||||
|
||||
```shell
|
||||
kubectl apply --filename secret.yaml serviceaccount.yaml build.yaml
|
||||
kubectl apply --filename secret.yaml --filename serviceaccount.yaml --filename build.yaml
|
||||
```
|
||||
|
||||
When this build executes, before steps execute, a `~/.gitconfig` will be
|
||||
|
@ -194,7 +194,7 @@ credentials are then used to authenticate with the Git repository.
|
|||
1. Execute the build:
|
||||
|
||||
```shell
|
||||
kubectl apply --filename secret.yaml serviceaccount.yaml build.yaml
|
||||
kubectl apply --filename secret.yaml --filename serviceaccount.yaml --filename build.yaml
|
||||
```
|
||||
|
||||
When this build executes, before steps execute, a `~/.docker/config.json` will
|
||||
|
|
Loading…
Reference in New Issue