mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
build: use consistent secret id in examples
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -44,7 +44,7 @@ equivalent options for [Bake](../bake/reference.md#targetsecret).
|
||||
{{< tab name="CLI" >}}
|
||||
|
||||
```console
|
||||
$ docker build --secret id=mytoken,src=$HOME/.aws/credentials .
|
||||
$ docker build --secret id=aws,src=$HOME/.aws/credentials .
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
@@ -57,7 +57,7 @@ variable "HOME" {
|
||||
|
||||
target "default" {
|
||||
secret = [
|
||||
"id=mytoken,src=${HOME}/.aws/credentials"
|
||||
"id=aws,src=${HOME}/.aws/credentials"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user