fix: align deployment labels and refresh v0.1.23 audit
Community checks / verify (push) Skipped
Verify Frame Flow / verify (push) Successful in 5m23s

This commit is contained in:
渡口浪人
2026-10-18 20:59:32 +08:00
parent 28e971c0ff
commit acdf267e48
4 changed files with 14 additions and 5 deletions
+8
View File
@@ -219,6 +219,14 @@ def release(lock):
service["image"] = image
service["environment"]["BUILD_COMMIT"] = commit
service["environment"]["BUILD_TIME"] = stamp
labels = service.get("labels") or {}
if isinstance(labels, list):
labels = {item.partition("=")[0]: item.partition("=")[2] for item in labels}
service["labels"] = {
**labels,
"org.opencontainers.image.version": version,
"org.opencontainers.image.revision": commit,
}
changed = False
try:
changed = True