3
0
Fork 0
forked from mirrors/nixpkgs

dockerTools.pullImage: expose image* attributes (#41366)

Attributes `imageName` and `imageTag` are exposed if the image is
built by our Nix tools but not if the image is pulled. So, we expose
these attributes for convenience and homogeneity.
This commit is contained in:
lewo 2018-06-03 22:58:23 +02:00 committed by xeji
parent 332b9dedc8
commit 0644b4d948

View file

@ -47,6 +47,8 @@ rec {
}:
runCommand name {
inherit imageName imageDigest;
imageTag = finalImageTag;
impureEnvVars = pkgs.stdenv.lib.fetchers.proxyImpureEnvVars;
outputHashMode = "flat";
outputHashAlgo = "sha256";