acoustic-carpenter-78188
04/02/2026, 2:30 AMlocalhost, automatically use localhost:30000 as the image registry instead of <http://ghcr.io/flyteorg|ghcr.io/flyteorg>
• Configure the buildx builder with --driver-opt network=host so the BuildKit daemon can reach localhost registries on the host machine
• Adds _get_base_registry() function that checks the initialized config endpoint dynamically
Test plan
• Verify default registry remains <http://ghcr.io/flyteorg|ghcr.io/flyteorg> when endpoint is not localhost
• Verify registry switches to localhost:30000 when endpoint contains localhost
• Verify buildx builder can push to localhost registry in sandbox environment
flyteorg/flyte-sdkacoustic-carpenter-78188
04/07/2026, 6:24 PM