store: pass repos to PushCompose
Repositories were not passed down into `Distro.Manifest()`. This makes all builds fail, because these repositories are use to access gpgkeys.
This commit is contained in:
parent
afa4975a15
commit
069ccba894
4 changed files with 8 additions and 8 deletions
|
|
@ -205,7 +205,7 @@ func (api *API) submit(writer http.ResponseWriter, request *http.Request, _ http
|
|||
// Push the requested compose to the store
|
||||
composeUUID := uuid.New()
|
||||
// nil is used as an upload target, because LocalTarget is already used in the PushCompose function
|
||||
err = api.store.PushCompose(distro, composeUUID, &blueprint.Blueprint{}, packages, buildPackages, arch, imageType, 0, nil)
|
||||
err = api.store.PushCompose(distro, composeUUID, &blueprint.Blueprint{}, repoConfigs, packages, buildPackages, arch, imageType, 0, nil)
|
||||
if err != nil {
|
||||
if api.logger != nil {
|
||||
api.logger.Println("RCM API failed to push compose:", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue