We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dc9b95 commit 2cd1c85Copy full SHA for 2cd1c85
rust/boil/src/build/cli.rs
@@ -47,7 +47,7 @@ pub struct BuildArguments {
47
/// The format is host[:port].
48
#[arg(
49
short, long,
50
- default_value_t = HostPort::localhost(),
+ default_value_t = Self::default_registry(),
51
value_hint = ValueHint::Hostname,
52
help_heading = "Registry Options"
53
)]
@@ -125,6 +125,13 @@ impl BuildArguments {
125
"0.0.0-dev".parse().expect("must be a valid SemVer")
126
}
127
128
+ fn default_registry() -> HostPort {
129
+ HostPort {
130
+ host: Host::Domain(String::from("oci.stackable.tech")),
131
+ port: None,
132
+ }
133
134
+
135
// TODO: Auto-detect this
136
fn default_architecture() -> TargetPlatform {
137
TargetPlatform::Linux(Architecture::Amd64)
0 commit comments