forked from github-mirror/docker-nixpkgs
add label to all CLI images
Try this out. These labels are used by Docker Hub to link back to the repository.
This commit is contained in:
@@ -23,5 +23,9 @@ dockerTools.buildLayeredImage {
|
|||||||
"PATH=/bin"
|
"PATH=/bin"
|
||||||
"SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt"
|
"SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||||
];
|
];
|
||||||
|
Labels = {
|
||||||
|
"org.label-schema.vcs-ref" = "master";
|
||||||
|
"org.label-schema.vcs-url" = "https://github.com/nix-community/docker-nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user