From de4dbb7d00190a7fbfe29ad595109cdaa10a3cc0 Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Thu, 24 Aug 2023 14:01:14 +0100 Subject: [PATCH] chore: reorder target fields Signed-off-by: Justin Chadwell --- bake/bake.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bake/bake.go b/bake/bake.go index 0fac4e3a..72ca30ec 100644 --- a/bake/bake.go +++ b/bake/bake.go @@ -587,9 +587,9 @@ type Target struct { Name string `json:"-" hcl:"name,label" cty:"name"` // Inherits is the only field that cannot be overridden with --set - Attest []string `json:"attest,omitempty" hcl:"attest,optional" cty:"attest"` Inherits []string `json:"inherits,omitempty" hcl:"inherits,optional" cty:"inherits"` + Attest []string `json:"attest,omitempty" hcl:"attest,optional" cty:"attest"` Context *string `json:"context,omitempty" hcl:"context,optional" cty:"context"` Contexts map[string]string `json:"contexts,omitempty" hcl:"contexts,optional" cty:"contexts"` Dockerfile *string `json:"dockerfile,omitempty" hcl:"dockerfile,optional" cty:"dockerfile"`