feat: add PushExecutor for OCI image mirroring

- Implement PushExecutor to copy OCI images from one registry to another.
- Add PushForm to the node form for configuring push parameters.
- Update node catalog to include the new Push node type.
- Modify registry registration to include PushExecutor.
- Update go.sum with necessary dependency versions.
This commit is contained in:
patel-lyzr
2026-05-13 22:15:08 +05:30
parent f526f18278
commit 9887a06c72
6 changed files with 408 additions and 35 deletions
+21
View File
@@ -21,6 +21,7 @@ import {
Undo2,
CircleSlash,
Settings2,
UploadCloud,
} from "lucide-react";
export type CatalogEntry = {
@@ -132,6 +133,26 @@ export const CATALOG: CatalogEntry[] = [
},
group: "gate",
},
{
type: "flow-nodes-base.push",
label: "Push",
description:
"Mirror the locally-built image to an external registry (GHCR, Docker Hub, ECR, etc.).",
icon: UploadCloud,
color: "bg-cyan-500",
outputs: 1,
defaults: {
// srcImage left empty — defaults to upstream __build.image
targetRegistry: "ghcr.io",
targetImage: "",
tag: "",
username: "",
password: "",
srcInsecure: true,
dstInsecure: false,
},
group: "deploy",
},
{
type: "flow-nodes-base.deploy",
label: "Deploy",