mirror of
https://github.com/open-gitagent/langship.sh.git
synced 2026-08-03 07:21:04 +02:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user