mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor(#125): logout from docker when deleting the registry
This commit is contained in:
parent
eea00d28cd
commit
b8a8e32659
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user