dockerTools: Fix passthru image tag
It should match the actual image tag.
This fixes the problem introduced in 00996b5e03
https://github.com/NixOS/nixpkgs/pull/115491#pullrequestreview-672789901
(cherry picked from commit ff55c41facaa6812f9cc879a49f6929321881d4f)
This commit is contained in:
committed by
github-actions[bot]
parent
5285a51c2e
commit
fc30ee8ce7
@@ -536,7 +536,7 @@ rec {
|
|||||||
passthru.layer = layer;
|
passthru.layer = layer;
|
||||||
passthru.imageTag =
|
passthru.imageTag =
|
||||||
if tag != null
|
if tag != null
|
||||||
then lib.toLower tag
|
then tag
|
||||||
else
|
else
|
||||||
lib.head (lib.strings.splitString "-" (baseNameOf result.outPath));
|
lib.head (lib.strings.splitString "-" (baseNameOf result.outPath));
|
||||||
# Docker can't be made to run darwin binaries
|
# Docker can't be made to run darwin binaries
|
||||||
|
|||||||
Reference in New Issue
Block a user