mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 18:13:42 +08:00 
			
		
		
		
	chore: reorder target fields
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
		@@ -587,9 +587,9 @@ type Target struct {
 | 
				
			|||||||
	Name string `json:"-" hcl:"name,label" cty:"name"`
 | 
						Name string `json:"-" hcl:"name,label" cty:"name"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Inherits is the only field that cannot be overridden with --set
 | 
						// 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"`
 | 
						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"`
 | 
						Context          *string            `json:"context,omitempty" hcl:"context,optional" cty:"context"`
 | 
				
			||||||
	Contexts         map[string]string  `json:"contexts,omitempty" hcl:"contexts,optional" cty:"contexts"`
 | 
						Contexts         map[string]string  `json:"contexts,omitempty" hcl:"contexts,optional" cty:"contexts"`
 | 
				
			||||||
	Dockerfile       *string            `json:"dockerfile,omitempty" hcl:"dockerfile,optional" cty:"dockerfile"`
 | 
						Dockerfile       *string            `json:"dockerfile,omitempty" hcl:"dockerfile,optional" cty:"dockerfile"`
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user