Merge pull request #125216 from hercules-ci/follow-up-115491

dockerTools: Fix passthru image tag
This commit is contained in:
Robert Hensing 2021-06-02 16:58:49 +02:00 committed by GitHub
commit 1834bc8711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -544,7 +544,7 @@ rec {
passthru.layer = layer;
passthru.imageTag =
if tag != null
then lib.toLower tag
then tag
else
lib.head (lib.strings.splitString "-" (baseNameOf result.outPath));
# Docker can't be made to run darwin binaries