Remove support for network override in bake

Signed-off-by: Zachary Povey <zachary.povey@autotrader.co.uk>
This commit is contained in:
Zachary Povey 2021-12-01 09:45:32 +00:00
parent 4ee7f70400
commit 7f8dbf890d
2 changed files with 1 additions and 3 deletions

View File

@ -567,8 +567,6 @@ func (t *Target) AddOverrides(overrides map[string]Override) error {
}
}
}
case "network":
t.NetworkMode = &o.Value
default:
return errors.Errorf("unknown key: %s", keys[0])
}

View File

@ -291,7 +291,7 @@ $ docker buildx bake --set foo*.no-cache # bypass caching only for
Complete list of overridable fields:
`args`, `cache-from`, `cache-to`, `context`, `dockerfile`, `labels`, `no-cache`,
`output`, `platform`, `pull`, `secrets`, `ssh`, `tags`, `target`, `network`
`output`, `platform`, `pull`, `secrets`, `ssh`, `tags`, `target`
### File definition