Skip to content

Commit

Permalink
Remove support for network override in bake
Browse files Browse the repository at this point in the history
Signed-off-by: Zachary Povey <[email protected]>
  • Loading branch information
Zachary Povey committed Dec 1, 2021
1 parent 4ee7f70 commit 7f8dbf8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions bake/bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/buildx_bake.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7f8dbf8

Please sign in to comment.