mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 10:03:42 +08:00 
			
		
		
		
	Merge pull request #880 from crazy-max/bake-ignore-field
bake: ignore NetworkMode field for json and hcl
This commit is contained in:
		@@ -435,7 +435,7 @@ type Target struct {
 | 
				
			|||||||
	Outputs          []string          `json:"output,omitempty" hcl:"output,optional"`
 | 
						Outputs          []string          `json:"output,omitempty" hcl:"output,optional"`
 | 
				
			||||||
	Pull             *bool             `json:"pull,omitempty" hcl:"pull,optional"`
 | 
						Pull             *bool             `json:"pull,omitempty" hcl:"pull,optional"`
 | 
				
			||||||
	NoCache          *bool             `json:"no-cache,omitempty" hcl:"no-cache,optional"`
 | 
						NoCache          *bool             `json:"no-cache,omitempty" hcl:"no-cache,optional"`
 | 
				
			||||||
	NetworkMode      *string
 | 
						NetworkMode      *string           `json:"-" hcl:"-"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// IMPORTANT: if you add more fields here, do not forget to update newOverrides and README.
 | 
						// IMPORTANT: if you add more fields here, do not forget to update newOverrides and README.
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user