mirror of
https://github.com/mudler/luet.git
synced 2025-09-07 18:20:19 +00:00
fixup: propagate outputpath
This commit is contained in:
@@ -813,6 +813,8 @@ func (cs *LuetCompiler) resolveJoinImages(concurrency int, keepPermissions bool,
|
|||||||
return errors.Wrap(err, "while generating images to join from")
|
return errors.Wrap(err, "while generating images to join from")
|
||||||
}
|
}
|
||||||
wantsArtifact := true
|
wantsArtifact := true
|
||||||
|
spec.SetOutputPath(p.GetOutputPath())
|
||||||
|
|
||||||
artifact, err := cs.compile(concurrency, keepPermissions, &wantsArtifact, spec)
|
artifact, err := cs.compile(concurrency, keepPermissions, &wantsArtifact, spec)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errors.Wrap(err, "failed building join image")
|
return errors.Wrap(err, "failed building join image")
|
||||||
@@ -866,6 +868,7 @@ func (cs *LuetCompiler) resolveMultiStageImages(concurrency int, keepPermissions
|
|||||||
return errors.Wrap(err, "while generating images to copy from")
|
return errors.Wrap(err, "while generating images to copy from")
|
||||||
}
|
}
|
||||||
noArtifact := false
|
noArtifact := false
|
||||||
|
spec.SetOutputPath(p.GetOutputPath())
|
||||||
artifact, err := cs.compile(concurrency, keepPermissions, &noArtifact, spec)
|
artifact, err := cs.compile(concurrency, keepPermissions, &noArtifact, spec)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user