diff --git a/apps/dokploy/components/dashboard/settings/cluster/registry/handle-registry.tsx b/apps/dokploy/components/dashboard/settings/cluster/registry/handle-registry.tsx
index 985e130f2..979276995 100644
--- a/apps/dokploy/components/dashboard/settings/cluster/registry/handle-registry.tsx
+++ b/apps/dokploy/components/dashboard/settings/cluster/registry/handle-registry.tsx
@@ -100,7 +100,9 @@ export const HandleRegistry = ({ registryId }: Props) => {
const { mutateAsync, error, isError } = registryId
? api.registry.update.useMutation()
: api.registry.create.useMutation();
- const { data: servers } = api.server.withSSHKey.useQuery();
+ const { data: deployServers } = api.server.withSSHKey.useQuery();
+ const { data: buildServers } = api.server.buildServers.useQuery();
+ const servers = [...(deployServers || []), ...(buildServers || [])];
const {
mutateAsync: testRegistry,
isLoading,
@@ -405,16 +407,33 @@ export const HandleRegistry = ({ registryId }: Props) => {
+ {deployServers && deployServers.length > 0 && (
+
+ Deploy Servers
+ {deployServers.map((server) => (
+
+ {server.name}
+
+ ))}
+
+ )}
+ {buildServers && buildServers.length > 0 && (
+
+ Build Servers
+ {buildServers.map((server) => (
+
+ {server.name}
+
+ ))}
+
+ )}
- Servers
- {servers?.map((server) => (
-
- {server.name}
-
- ))}
None