mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-06 17:26:13 +02:00
Add OCI labels to image
This commit is contained in:
parent
71791eeb09
commit
1bb639d64e
1 changed files with 6 additions and 0 deletions
|
@ -28,5 +28,11 @@ dockerTools.buildLayeredImage {
|
|||
Env = [
|
||||
"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}";
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue