diff --git a/rust/boil/src/build/cli.rs b/rust/boil/src/build/cli.rs index 049148fb3..ce0073594 100644 --- a/rust/boil/src/build/cli.rs +++ b/rust/boil/src/build/cli.rs @@ -47,7 +47,7 @@ pub struct BuildArguments { /// The format is host[:port]. #[arg( short, long, - default_value_t = HostPort::localhost(), + default_value_t = Self::default_registry(), value_hint = ValueHint::Hostname, help_heading = "Registry Options" )] @@ -125,6 +125,13 @@ impl BuildArguments { "0.0.0-dev".parse().expect("must be a valid SemVer") } + fn default_registry() -> HostPort { + HostPort { + host: Host::Domain(String::from("oci.stackable.tech")), + port: None, + } + } + // TODO: Auto-detect this fn default_architecture() -> TargetPlatform { TargetPlatform::Linux(Architecture::Amd64)