Skip to content

Commit 2cd1c85

Browse files
authored
fix(boil): Revert accidental default registry change from #1281 (#1288)
1 parent 9dc9b95 commit 2cd1c85

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

rust/boil/src/build/cli.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub struct BuildArguments {
4747
/// The format is host[:port].
4848
#[arg(
4949
short, long,
50-
default_value_t = HostPort::localhost(),
50+
default_value_t = Self::default_registry(),
5151
value_hint = ValueHint::Hostname,
5252
help_heading = "Registry Options"
5353
)]
@@ -125,6 +125,13 @@ impl BuildArguments {
125125
"0.0.0-dev".parse().expect("must be a valid SemVer")
126126
}
127127

128+
fn default_registry() -> HostPort {
129+
HostPort {
130+
host: Host::Domain(String::from("oci.stackable.tech")),
131+
port: None,
132+
}
133+
}
134+
128135
// TODO: Auto-detect this
129136
fn default_architecture() -> TargetPlatform {
130137
TargetPlatform::Linux(Architecture::Amd64)

0 commit comments

Comments
 (0)