patch..
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-08-13 17:58:33 +09:00
parent 964472e148
commit ecee879694
@@ -36,13 +36,13 @@ type ImageTags = {
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 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]];
if (release?.artifact) return [[release.app?.name ?? appName ?? 'artifact', release.artifact]];
return [];
}
@@ -263,7 +263,7 @@ export function DeploymentManagementPage() {
</div>
) : null}
{pagedDeployments.map((deployment, index) => {
const artifacts = releaseArtifacts(deployment.release);
const artifacts = releaseArtifacts(deployment.release, deployment.app?.name);
return (
<div key={deployment.id} className="rounded-md border border-border bg-background/70 p-4">
<div className="flex items-start justify-between gap-4">