From 21a9b738503c8a134e96bc45a9f0cc467151bfdd Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 18 May 2026 00:59:49 +0000 Subject: [PATCH] fix: isolate provider docker config during deploy --- scripts/src/deploy.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/src/deploy.ts b/scripts/src/deploy.ts index 5acd0f56..25cb3b8c 100644 --- a/scripts/src/deploy.ts +++ b/scripts/src/deploy.ts @@ -828,6 +828,9 @@ function sourceProxyPrelude(service: UniDeskMicroserviceConfig): string { if (targetIsMain(service)) return ""; const strictHostKeyChecking = isUnideskRepo(service.repository.url) ? "yes" : "accept-new"; return [ + "export DOCKER_CONFIG=/tmp/unidesk-docker-config-clean", + "mkdir -p \"$DOCKER_CONFIG\"", + "[ -f \"$DOCKER_CONFIG/config.json\" ] || printf '{}' > \"$DOCKER_CONFIG/config.json\"", `build_proxy=${shellQuote(providerGatewayWsEgressProxyUrl)}`, "export HTTP_PROXY=\"$build_proxy\" HTTPS_PROXY=\"$build_proxy\" ALL_PROXY=\"$build_proxy\"", "export NO_PROXY=\"localhost,127.0.0.1,::1,host.docker.internal\"",