Skip to content
Merged
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
2 changes: 1 addition & 1 deletion content/build/building/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,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 `id` parameter
When you 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.
Expand Down