bake: fix dockerfile default if empty
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -676,7 +676,7 @@ func (c Config) ResolveTarget(name string, overrides map[string]map[string]Overr
|
||||
s := "."
|
||||
t.Context = &s
|
||||
}
|
||||
if t.Dockerfile == nil {
|
||||
if t.Dockerfile == nil || (t.Dockerfile != nil && *t.Dockerfile == "") {
|
||||
s := "Dockerfile"
|
||||
t.Dockerfile = &s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user