docker: lowercase image name and tag
The docker loading (docker 1.12.6) of an image with uppercase in the name fails with the following message: invalid reference format: repository name must be lowercase
This commit is contained in:
parent
97544a6c38
commit
e28d817c9a
@ -409,8 +409,9 @@ rec {
|
||||
};
|
||||
result = runCommand "docker-image-${baseName}.tar.gz" {
|
||||
buildInputs = [ jshon pigz coreutils findutils ];
|
||||
imageName = name;
|
||||
imageTag = tag;
|
||||
# Image name and tag must be lowercase
|
||||
imageName = lib.toLower name;
|
||||
imageTag = lib.toLower tag;
|
||||
inherit fromImage baseJson;
|
||||
layerClosure = writeReferencesToFile layer;
|
||||
passthru.buildArgs = args;
|
||||
|
Loading…
Reference in New Issue
Block a user