feat: display platform agent status and version
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -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 [];
|
||||
|
||||
Reference in New Issue
Block a user