From e5f353ceee3dba04dd9b162c3923a529232cf741 Mon Sep 17 00:00:00 2001 From: Patrick Van Stee Date: Thu, 7 May 2020 21:59:49 -0400 Subject: [PATCH] Fix json keys for groups and targets Signed-off-by: Patrick Van Stee --- bake/bake.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bake/bake.go b/bake/bake.go index 26c0e0f20278..e5ee0ca95f62 100644 --- a/bake/bake.go +++ b/bake/bake.go @@ -72,8 +72,8 @@ func ParseFile(fn string) (*Config, error) { type Config struct { Variables []*Variable `json:"-" hcl:"variable,block"` - Groups []*Group `json:"groups" hcl:"group,block"` - Targets []*Target `json:"targets" hcl:"target,block"` + Groups []*Group `json:"group" hcl:"group,block"` + Targets []*Target `json:"target" hcl:"target,block"` Remain hcl.Body `json:"-" hcl:",remain"` }