Merge pull request #20168 from AlvesJorge/patch-1

fix missing word in secrets documentation
This commit is contained in:
David Karlsson 2024-06-07 09:18:52 +02:00 committed by GitHub
commit c7b922a601
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ as a file in the build container at `/run/secrets/kube`.
$ docker build --secret id=kube,env=KUBECONFIG .
```
When you secrets from environment variables, you can omit the `env` parameter
When you use secrets from environment variables, you can omit the `env` parameter
to bind the secret to a file with the same name as the variable.
In the following example, the value of the `API_TOKEN` variable
is mounted to `/run/secrets/API_TOKEN` in the build container.