fixup! Add OCI labels to image

This commit is contained in:
Jade Ellis 2025-01-19 11:22:12 +00:00
parent 8eaf124bf3
commit c880005a0e
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -29,10 +29,10 @@ dockerTools.buildLayeredImage {
"RUST_BACKTRACE=full" "RUST_BACKTRACE=full"
]; ];
Labels = { Labels = {
org.opencontainers.image.title = main.pname; "org.opencontainers.image.title" = main.pname;
org.opencontainers.image.version = main.version; "org.opencontainers.image.version" = main.version;
org.opencontainers.image.revision = inputs.self.rev or inputs.self.dirtyRev or ""; "org.opencontainers.image.revision" = inputs.self.rev or inputs.self.dirtyRev or "";
org.opencontainers.image.created = "@${toString inputs.self.lastModified}"; "org.opencontainers.image.created" = builtins.formatTime "%Y-%m-%dT%H:%M:%SZ" inputs.self.lastModified
}; };
}; };
} }