From 5a12b25bab276220c5beffff59d8b89514111532 Mon Sep 17 00:00:00 2001 From: Nick Santos Date: Wed, 17 May 2023 18:56:58 -0400 Subject: [PATCH] Update bake-reference.md Before this change, there were two bugs: - the HCL was not valid. in hcl, argument names can't be quoted - the target argument should be a real target Signed-off-by: Nick Santos --- docs/bake-reference.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/bake-reference.md b/docs/bake-reference.md index 4bc1888b..d767504e 100644 --- a/docs/bake-reference.md +++ b/docs/bake-reference.md @@ -69,16 +69,16 @@ The following example shows the same Bake file in the HCL format: ```hcl variable "TAG" { - "default" = "latest" + default = "latest" } group "default" { - "targets" = ["latest"] + targets = ["webapp"] } target "webapp" { - "dockerfile" = "Dockerfile" - "tags" = ["docker.io/username/webapp:${TAG}"] + dockerfile = "Dockerfile" + tags = ["docker.io/username/webapp:${TAG}"] } ```