pub struct DockerHubConfig {
pub username: Option<String>,
pub secret_name: Option<String>,
pub images: Option<Vec<String>>,
pub description: Option<String>,
pub full_description: Option<DockerHubFullDescription>,
pub skip: Option<StringOrBool>,
pub required: Option<bool>,
pub if_condition: Option<String>,
pub retain_on_rollback: Option<bool>,
}Expand description
DockerHub description sync configuration. Pushes image descriptions and README content to DockerHub repositories.
Fields§
§username: Option<String>DockerHub username for authentication.
secret_name: Option<String>Environment variable name containing the DockerHub token.
images: Option<Vec<String>>DockerHub image names to update (e.g. myorg/myapp).
description: Option<String>Short description for the DockerHub repository (max 100 chars).
full_description: Option<DockerHubFullDescription>Full description (README) source for the DockerHub repository.
skip: Option<StringOrBool>Skip this publisher. Accepts bool or template string.
Accepts the legacy disable: spelling via serde alias for back-compat
with imported configs (the legacy disable: spelling).
required: Option<bool>Override whether this publisher failing should fail the overall release.
Default: false — a failure here is logged but does not abort the release.
Set to true to fail the release on any error.
if_condition: Option<String>Template-conditional gate: when the rendered result is falsy
("false" / "0" / "no" / empty), the DockerHub publisher is
skipped. Render failure hard-errors. Exposes the dockerhub[].if:
conditional gate; distinct from skip: (which expresses “always
skip”) and provides config-import parity.
retain_on_rollback: Option<bool>When true, a triggered rollback leaves this publisher’s work in
place rather than attempting to undo it. Default false.
Trait Implementations§
Source§impl Clone for DockerHubConfig
impl Clone for DockerHubConfig
Source§fn clone(&self) -> DockerHubConfig
fn clone(&self) -> DockerHubConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DockerHubConfig
impl Debug for DockerHubConfig
Source§impl Default for DockerHubConfig
impl Default for DockerHubConfig
Source§fn default() -> DockerHubConfig
fn default() -> DockerHubConfig
Source§impl<'de> Deserialize<'de> for DockerHubConfigwhere
DockerHubConfig: Default,
impl<'de> Deserialize<'de> for DockerHubConfigwhere
DockerHubConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for DockerHubConfig
impl JsonSchema for DockerHubConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more