mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Merge pull request #125216 from hercules-ci/follow-up-115491
dockerTools: Fix passthru image tag
This commit is contained in:
commit
1834bc8711
@ -544,7 +544,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
|
||||||
|
Loading…
Reference in New Issue
Block a user