Merge pull request #298239 from cdepillabout/layered-img-passthru

dockerTools: add streamed image as passthru to buildLayeredImage
This commit is contained in:
Pol Dellaiera 2024-03-23 22:13:18 +01:00 committed by GitHub
commit 6522a75f90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -523,7 +523,7 @@ rec {
runCommand "${baseNameOf name}.tar${compress.ext}" runCommand "${baseNameOf name}.tar${compress.ext}"
{ {
inherit (stream) imageName; inherit (stream) imageName;
passthru = { inherit (stream) imageTag; }; passthru = { inherit (stream) imageTag; inherit stream; };
nativeBuildInputs = compress.nativeInputs; nativeBuildInputs = compress.nativeInputs;
} "${stream} | ${compress.compress} > $out" } "${stream} | ${compress.compress} > $out"
); );