mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-06 22:06:11 +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"
|
"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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue