mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
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:
parent
332b9dedc8
commit
0644b4d948
@ -47,6 +47,8 @@ rec {
|
||||
}:
|
||||
|
||||
runCommand name {
|
||||
inherit imageName imageDigest;
|
||||
imageTag = finalImageTag;
|
||||
impureEnvVars = pkgs.stdenv.lib.fetchers.proxyImpureEnvVars;
|
||||
outputHashMode = "flat";
|
||||
outputHashAlgo = "sha256";
|
||||
|
Loading…
Reference in New Issue
Block a user