Skip to content

Commit ee35407

Browse files
authored
Merge pull request #22617 from crazy-max/bake-fix-syntax
bake: fix hcl syntax
1 parent d03288e commit ee35407

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/manuals/build/bake/expressions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ target "default" {
6262
dockerfile="Dockerfile"
6363
tags = [
6464
"my-image:latest",
65-
notequal("",TAG) ? "my-image:${TAG}": "",
65+
notequal("",TAG) ? "my-image:${TAG}": ""
6666
]
6767
}
6868
```

content/manuals/build/bake/targets.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ target "api" {
8181
target "tests" {
8282
dockerfile = "tests.Dockerfile"
8383
contexts = {
84-
webapp = "target:webapp",
85-
api = "target:api",
84+
webapp = "target:webapp"
85+
api = "target:api"
8686
}
8787
output = ["type=local,dest=build/tests"]
8888
context = "."

0 commit comments

Comments
 (0)