diff --git a/content/build/building/secrets.md b/content/build/building/secrets.md index 31a138f409..27fc85cb61 100644 --- a/content/build/building/secrets.md +++ b/content/build/building/secrets.md @@ -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.