mirror of
https://github.com/mudler/luet.git
synced 2025-09-16 15:19:24 +00:00
@@ -420,9 +420,16 @@ func (cs *LuetCompiler) compileWithImage(image, buildertaggedImage, packageImage
|
||||
artifact.SetCompileSpec(p)
|
||||
}
|
||||
|
||||
filelist, err := artifact.FileList()
|
||||
if err != nil {
|
||||
return artifact, errors.Wrap(err, "Failed getting package list")
|
||||
}
|
||||
|
||||
artifact.SetFiles(filelist)
|
||||
|
||||
err = artifact.WriteYaml(p.GetOutputPath())
|
||||
if err != nil {
|
||||
return artifact, err
|
||||
return artifact, errors.Wrap(err, "Failed while writing metadata file")
|
||||
}
|
||||
Info(pkgTag, " :white_check_mark: Done")
|
||||
|
||||
|
Reference in New Issue
Block a user