mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-21 03:40:39 +00:00
fix: fix nil map for build args
This commit is contained in:
parent
d34d0937bf
commit
b5c5aabf68
@ -216,6 +216,9 @@ func (p *Plugin) FlagsFromContext() error {
|
||||
}
|
||||
|
||||
p.Settings.Build.Args = args.Get()
|
||||
if p.Settings.Build.Args == nil {
|
||||
p.Settings.Build.Args = make(map[string]string)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user