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:
@@ -60,6 +60,8 @@ export const removeRegistry = async (registryId: string) => {
|
|||||||
await removeService("dokploy-registry");
|
await removeService("dokploy-registry");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await execAsync(`docker logout ${response.registryUrl}`);
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new TRPCError({
|
throw new TRPCError({
|
||||||
|
|||||||
Reference in New Issue
Block a user