Merge pull request #22617 from crazy-max/bake-fix-syntax

bake: fix hcl syntax
This commit is contained in:
CrazyMax 2025-05-12 15:39:15 +02:00 committed by GitHub
parent d03288ea1d
commit ee35407538
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ target "default" {
dockerfile="Dockerfile" dockerfile="Dockerfile"
tags = [ tags = [
"my-image:latest", "my-image:latest",
notequal("",TAG) ? "my-image:${TAG}": "", notequal("",TAG) ? "my-image:${TAG}": ""
] ]
} }
``` ```

View File

@ -81,8 +81,8 @@ target "api" {
target "tests" { target "tests" {
dockerfile = "tests.Dockerfile" dockerfile = "tests.Dockerfile"
contexts = { contexts = {
webapp = "target:webapp", webapp = "target:webapp"
api = "target:api", api = "target:api"
} }
output = ["type=local,dest=build/tests"] output = ["type=local,dest=build/tests"]
context = "." context = "."