remove created date from OCI image generation

dockerhub and github container registry don't like this,
and i have no idea what to do.

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-04-15 07:00:14 -04:00 committed by June
parent 775191d5c1
commit 38b15418ca

View file

@ -197,8 +197,6 @@
pkgs.dockerTools.buildImage { pkgs.dockerTools.buildImage {
name = package.pname; name = package.pname;
tag = "main"; tag = "main";
# Debian makes builds reproducible through using the HEAD commit's date
created = builtins.substring 0 8 self.lastModifiedDate;
copyToRoot = [ copyToRoot = [
pkgs.dockerTools.caCertificates pkgs.dockerTools.caCertificates
]; ];