feat: display platform agent status and version
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-08-06 16:01:33 +09:00
parent 4fce1c21a3
commit 4a79dab2f6
3 changed files with 35 additions and 1 deletions
@@ -38,7 +38,9 @@ type ImageTags = {
function releaseArtifacts(release?: AppRelease | null) {
const imageTags = release?.imageTags as ImageTags | null | undefined;
const entries = Object.entries(imageTags?.images ?? {});
const entries = Object.entries(imageTags?.images ?? {}).filter(([, image]) => (
!/^(postgres|mysql|mariadb|mongo)(:|@)/i.test(image.trim())
));
if (entries.length) return entries;
if (release?.artifact) return [[release.app.name, release.artifact]];
return [];