mirror of https://github.com/docker/docs.git
				
				
				
			Merge pull request #21007 from dvdksn/secret-use-consistent-id
build: use consistent secret id in examples
This commit is contained in:
		
						commit
						bd15895d80
					
				|  | @ -44,7 +44,7 @@ equivalent options for [Bake](../bake/reference.md#targetsecret). | ||||||
| {{< tab name="CLI" >}} | {{< tab name="CLI" >}} | ||||||
| 
 | 
 | ||||||
| ```console | ```console | ||||||
| $ docker build --secret id=mytoken,src=$HOME/.aws/credentials . | $ docker build --secret id=aws,src=$HOME/.aws/credentials . | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| {{< /tab >}} | {{< /tab >}} | ||||||
|  | @ -57,7 +57,7 @@ variable "HOME" { | ||||||
| 
 | 
 | ||||||
| target "default" { | target "default" { | ||||||
|   secret = [ |   secret = [ | ||||||
|     "id=mytoken,src=${HOME}/.aws/credentials" |     "id=aws,src=${HOME}/.aws/credentials" | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue