feat: Add configuration option for popularity data URL
This commit is contained in:
parent
e4d03fdb17
commit
64f74abc4d
5 changed files with 12 additions and 5 deletions
|
|
@ -134,6 +134,10 @@ func BuildImage(ctx *context.Context, cfg *config.Config, cache *LocalCache, ima
|
|||
"--argstr", "srcArgs", srcArgs,
|
||||
}
|
||||
|
||||
if cfg.PopUrl != "" {
|
||||
args = append(args, "--argstr", "popularityUrl", cfg.PopUrl)
|
||||
}
|
||||
|
||||
cmd := exec.Command("nixery-build-image", args...)
|
||||
|
||||
outpipe, err := cmd.StdoutPipe()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue