@@ -294,23 +294,24 @@ func (s set) toSlice() []string {
294294
295295// BuildConfig is a type for build
296296type BuildConfig struct {
297- Context string `yaml:",omitempty" json:"context,omitempty"`
298- Dockerfile string `yaml:",omitempty" json:"dockerfile,omitempty"`
299- Args MappingWithEquals `yaml:",omitempty" json:"args,omitempty"`
300- SSH SSHConfig `yaml:"ssh,omitempty" json:"ssh,omitempty"`
301- Labels Labels `yaml:",omitempty" json:"labels,omitempty"`
302- CacheFrom StringList `mapstructure:"cache_from" yaml:"cache_from,omitempty" json:"cache_from,omitempty"`
303- CacheTo StringList `mapstructure:"cache_to" yaml:"cache_to,omitempty" json:"cache_to,omitempty"`
304- NoCache bool `mapstructure:"no_cache" yaml:"no_cache,omitempty" json:"no_cache,omitempty"`
305- Pull bool `mapstructure:"pull" yaml:"pull,omitempty" json:"pull,omitempty"`
306- ExtraHosts HostsList `mapstructure:"extra_hosts" yaml:"extra_hosts,omitempty" json:"extra_hosts,omitempty"`
307- Isolation string `yaml:",omitempty" json:"isolation,omitempty"`
308- Network string `yaml:",omitempty" json:"network,omitempty"`
309- Target string `yaml:",omitempty" json:"target,omitempty"`
310- Secrets []ServiceSecretConfig `yaml:",omitempty" json:"secrets,omitempty"`
311- Tags StringList `mapstructure:"tags" yaml:"tags,omitempty" json:"tags,omitempty"`
312- Platforms StringList `mapstructure:"platforms" yaml:"platforms,omitempty" json:"platforms,omitempty"`
313- Privileged bool `yaml:",omitempty" json:"privileged,omitempty"`
297+ Context string `yaml:",omitempty" json:"context,omitempty"`
298+ Dockerfile string `yaml:",omitempty" json:"dockerfile,omitempty"`
299+ Args MappingWithEquals `yaml:",omitempty" json:"args,omitempty"`
300+ SSH SSHConfig `yaml:"ssh,omitempty" json:"ssh,omitempty"`
301+ Labels Labels `yaml:",omitempty" json:"labels,omitempty"`
302+ CacheFrom StringList `mapstructure:"cache_from" yaml:"cache_from,omitempty" json:"cache_from,omitempty"`
303+ CacheTo StringList `mapstructure:"cache_to" yaml:"cache_to,omitempty" json:"cache_to,omitempty"`
304+ NoCache bool `mapstructure:"no_cache" yaml:"no_cache,omitempty" json:"no_cache,omitempty"`
305+ AdditionalContexts MappingWithEquals `mapstructure:"additional_contexts" yaml:"additional_contexts,omitempty" json:"additional_contexts,omitempty"`
306+ Pull bool `mapstructure:"pull" yaml:"pull,omitempty" json:"pull,omitempty"`
307+ ExtraHosts HostsList `mapstructure:"extra_hosts" yaml:"extra_hosts,omitempty" json:"extra_hosts,omitempty"`
308+ Isolation string `yaml:",omitempty" json:"isolation,omitempty"`
309+ Network string `yaml:",omitempty" json:"network,omitempty"`
310+ Target string `yaml:",omitempty" json:"target,omitempty"`
311+ Secrets []ServiceSecretConfig `yaml:",omitempty" json:"secrets,omitempty"`
312+ Tags StringList `mapstructure:"tags" yaml:"tags,omitempty" json:"tags,omitempty"`
313+ Platforms StringList `mapstructure:"platforms" yaml:"platforms,omitempty" json:"platforms,omitempty"`
314+ Privileged bool `yaml:",omitempty" json:"privileged,omitempty"`
314315
315316 Extensions map [string ]interface {} `yaml:",inline" json:"-"`
316317}
0 commit comments