Merge branch 'develop' into release
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-08-13 17:58:44 +09:00
@@ -36,13 +36,13 @@ type ImageTags = {
artifacts?: Record<string, string>; artifacts?: Record<string, string>;
}; };
function releaseArtifacts(release?: AppRelease | null) { function releaseArtifacts(release?: AppRelease | null, appName?: string) {
const imageTags = release?.imageTags as ImageTags | null | undefined; const imageTags = release?.imageTags as ImageTags | null | undefined;
const entries = Object.entries(imageTags?.images ?? {}).filter(([, image]) => ( const entries = Object.entries(imageTags?.images ?? {}).filter(([, image]) => (
!/^(postgres|mysql|mariadb|mongo)(:|@)/i.test(image.trim()) !/^(postgres|mysql|mariadb|mongo)(:|@)/i.test(image.trim())
)); ));
if (entries.length) return entries; if (entries.length) return entries;
if (release?.artifact) return [[release.app.name, release.artifact]]; if (release?.artifact) return [[release.app?.name ?? appName ?? 'artifact', release.artifact]];
return []; return [];
} }
@@ -263,7 +263,7 @@ export function DeploymentManagementPage() {
</div> </div>
) : null} ) : null}
{pagedDeployments.map((deployment, index) => { {pagedDeployments.map((deployment, index) => {
const artifacts = releaseArtifacts(deployment.release); const artifacts = releaseArtifacts(deployment.release, deployment.app?.name);
return ( return (
<div key={deployment.id} className="rounded-md border border-border bg-background/70 p-4"> <div key={deployment.id} className="rounded-md border border-border bg-background/70 p-4">
<div className="flex items-start justify-between gap-4"> <div className="flex items-start justify-between gap-4">