Skip to content

Commit 08bc47f

Browse files
authored
Update secrets.md
1 parent ce9325d commit 08bc47f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/build/building/secrets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ as a file in the build container at `/run/secrets/kube`.
6868
$ docker build --secret id=kube,env=KUBECONFIG .
6969
```
7070

71-
When you secrets from environment variables, you can omit the `id` parameter
71+
When you secrets from environment variables, you can omit the `env` parameter
7272
to bind the secret to a file with the same name as the variable.
7373
In the following example, the value of the `API_TOKEN` variable
7474
is mounted to `/run/secrets/API_TOKEN` in the build container.

0 commit comments

Comments
 (0)