0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-21 13:50:39 +00:00

fix: fix nil map for build args

This commit is contained in:
Robert Kaussow 2024-11-15 23:51:46 +01:00
parent d34d0937bf
commit b5c5aabf68
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -216,6 +216,9 @@ func (p *Plugin) FlagsFromContext() error {
} }
p.Settings.Build.Args = args.Get() p.Settings.Build.Args = args.Get()
if p.Settings.Build.Args == nil {
p.Settings.Build.Args = make(map[string]string)
}
return nil return nil
} }