Merge pull request #1810 from nicks/patch-1

fix two bugs in bake-reference.md
This commit is contained in:
Tõnis Tiigi 2023-05-17 21:12:19 -07:00 committed by GitHub
commit 1dd31fefcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,16 +69,16 @@ The following example shows the same Bake file in the HCL format:
```hcl ```hcl
variable "TAG" { variable "TAG" {
"default" = "latest" default = "latest"
} }
group "default" { group "default" {
"targets" = ["latest"] targets = ["webapp"]
} }
target "webapp" { target "webapp" {
"dockerfile" = "Dockerfile" dockerfile = "Dockerfile"
"tags" = ["docker.io/username/webapp:${TAG}"] tags = ["docker.io/username/webapp:${TAG}"]
} }
``` ```