v0.2.2: configure docker organizations for builds

This commit is contained in:
mbecker20
2023-03-01 07:18:49 +00:00
parent 4c1ec5db33
commit 39eceb745b
42 changed files with 440 additions and 380 deletions

View File

@@ -69,6 +69,10 @@ pub struct Build {
#[diff(attr(#[serde(skip_serializing_if = "option_diff_no_change")]))]
pub docker_account: Option<String>,
#[builder(default)]
#[diff(attr(#[serde(skip_serializing_if = "option_diff_no_change")]))]
pub docker_organization: Option<String>,
#[serde(default, skip_serializing_if = "String::is_empty")]
#[diff(attr(#[serde(skip)]))]
#[builder(setter(skip))]

View File

@@ -55,6 +55,10 @@ pub struct CoreConfig {
// enable login with local auth
pub local_auth: bool,
// allowed docker orgs used with monitor. first in this list will be default for build
#[serde(default)]
pub docker_organizations: Vec<String>,
pub mongo: MongoConfig,
#[serde(default)]