feat: enhance PushExecutor and PushForm for multi-target image mirroring

This commit is contained in:
patel-lyzr
2026-05-13 22:15:08 +05:30
parent 9887a06c72
commit 034b4cac88
3 changed files with 479 additions and 218 deletions
+13 -8
View File
@@ -137,19 +137,24 @@ export const CATALOG: CatalogEntry[] = [
type: "flow-nodes-base.push",
label: "Push",
description:
"Mirror the locally-built image to an external registry (GHCR, Docker Hub, ECR, etc.).",
"Mirror the locally-built image to one or more external registries (GHCR, Docker Hub, ECR, etc.) in parallel.",
icon: UploadCloud,
color: "bg-cyan-500",
outputs: 1,
defaults: {
// srcImage left empty defaults to upstream __build.image
targetRegistry: "ghcr.io",
targetImage: "",
tag: "",
username: "",
password: "",
// srcImage empty defaults to upstream __build.image
srcInsecure: true,
dstInsecure: false,
targets: [
{
name: "ghcr",
registry: "ghcr.io",
image: "",
tag: "",
username: "",
password: "",
insecure: false,
},
],
},
group: "deploy",
},