bake: ignore NetworkMode field for json and hcl

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/880/head
CrazyMax 3 years ago
parent 202e99695b
commit ec9daba87e
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -435,7 +435,7 @@ type Target struct {
Outputs []string `json:"output,omitempty" hcl:"output,optional"`
Pull *bool `json:"pull,omitempty" hcl:"pull,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.
}

Loading…
Cancel
Save