refactor(#125): logout from docker when deleting the registry

This commit is contained in:
Mauricio Siu 2024-06-07 00:50:02 -06:00
parent eea00d28cd
commit b8a8e32659

View File

@ -60,6 +60,8 @@ export const removeRegistry = async (registryId: string) => {
await removeService("dokploy-registry");
}
await execAsync(`docker logout ${response.registryUrl}`);
return response;
} catch (error) {
throw new TRPCError({