mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-06 09:36:13 +02:00
fixup! Add OCI labels to image
This commit is contained in:
parent
8eaf124bf3
commit
c880005a0e
1 changed files with 4 additions and 4 deletions
|
@ -29,10 +29,10 @@ dockerTools.buildLayeredImage {
|
|||
"RUST_BACKTRACE=full"
|
||||
];
|
||||
Labels = {
|
||||
org.opencontainers.image.title = main.pname;
|
||||
org.opencontainers.image.version = main.version;
|
||||
org.opencontainers.image.revision = inputs.self.rev or inputs.self.dirtyRev or "";
|
||||
org.opencontainers.image.created = "@${toString inputs.self.lastModified}";
|
||||
"org.opencontainers.image.title" = main.pname;
|
||||
"org.opencontainers.image.version" = main.version;
|
||||
"org.opencontainers.image.revision" = inputs.self.rev or inputs.self.dirtyRev or "";
|
||||
"org.opencontainers.image.created" = builtins.formatTime "%Y-%m-%dT%H:%M:%SZ" inputs.self.lastModified
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue