mirror of
https://github.com/mudler/luet.git
synced 2025-09-05 09:10:43 +00:00
Use image tags for cache instead of names
This commit is contained in:
@@ -251,8 +251,8 @@ func (cs *LuetCompiler) Compile(concurrency int, keepPermissions bool, p Compila
|
|||||||
return nil, errors.Wrap(err, "While computing a solution for "+p.GetPackage().GetName())
|
return nil, errors.Wrap(err, "While computing a solution for "+p.GetPackage().GetName())
|
||||||
}
|
}
|
||||||
|
|
||||||
buildImageHash := "luet/cache-" + nthsolution.Drop(depPack).AssertionHash()
|
buildImageHash := "luet/cache:" + nthsolution.Order(depPack.GetFingerPrint()).Drop(depPack).AssertionHash()
|
||||||
currentPackageImageHash := "luet/cache-" + nthsolution.AssertionHash()
|
currentPackageImageHash := "luet/cache:" + nthsolution.Order(depPack.GetFingerPrint()).AssertionHash()
|
||||||
Debug("("+p.GetPackage().GetName()+") Builder image name:", buildImageHash)
|
Debug("("+p.GetPackage().GetName()+") Builder image name:", buildImageHash)
|
||||||
Debug("("+p.GetPackage().GetName()+") Package image name:", currentPackageImageHash)
|
Debug("("+p.GetPackage().GetName()+") Package image name:", currentPackageImageHash)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user