<#893 Use localhost registry when flyte endpoint i...
# flyte-github
a
#893 Use localhost registry when flyte endpoint is localhost Pull request opened by pingsutw Summary • When the configured Flyte endpoint contains
localhost
, 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-sdk