Skip to content

Commit

Permalink
Merge pull request #880 from crazy-max/bake-ignore-field
Browse files Browse the repository at this point in the history
bake: ignore NetworkMode field for json and hcl
  • Loading branch information
tonistiigi authored Dec 14, 2021
2 parents 202e996 + ec9daba commit 1dde00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bake/bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
Expand Down

0 comments on commit 1dde00c

Please sign in to comment.