diff options
author | Chris Roberts <chris.roberts@flightaware.com> | 2021-03-09 09:06:04 +0000 |
---|---|---|
committer | Chris Roberts <chris.roberts@flightaware.com> | 2021-03-09 09:06:04 +0000 |
commit | 00996b5e03f33bebafc2b17c41a175d3726a9bde (patch) | |
tree | f597688e944444280c42d4ad858bb00cd3527e86 /pkgs/build-support | |
parent | 0b9ccb57fc335071f7ba19aa8cfdd03bd98fc309 (diff) |
dockerTools: Do not lowercase image tag in buildImage
Closes #115455
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/docker/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 4d57b3991998..e9014a889540 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -518,9 +518,9 @@ rec { }; result = runCommand "docker-image-${baseName}.tar.gz" { nativeBuildInputs = [ jshon pigz coreutils findutils jq moreutils ]; - # Image name and tag must be lowercase + # Image name must be lowercase imageName = lib.toLower name; - imageTag = if tag == null then "" else lib.toLower tag; + imageTag = if tag == null then "" else tag; inherit fromImage baseJson; layerClosure = writeReferencesToFile layer; passthru.buildArgs = args; |