pub struct DockerManifestConfig {
pub name_template: String,
pub image_templates: Vec<String>,
pub create_flags: Option<Vec<String>>,
pub push_flags: Option<Vec<String>>,
pub skip_push: Option<SkipPushConfig>,
pub id: Option<String>,
pub use_backend: Option<String>,
pub retry: Option<DockerRetryConfig>,
}Expand description
Deprecated: prefer docker_v2 (which produces multi-arch manifests via
the platforms: field automatically). DockerManifestConfig is retained
for back-compat with imported GoReleaser configs and for the niche case
of stitching together manifest lists from images that were not built by
docker_v2 in the same run.
Mirrors GoReleaser commit e09e23a, which marked the v1 docker / docker manifest pipes deprecated in favour of the v2 buildx flow. The rustdoc here is the load-bearing surface for the deprecation: it flows into the schemars-generated JSON Schema (consumed by IDEs / editor tooling) and rustdoc HTML, both of which are how downstream config authors discover that the v2 pipe is the preferred entry point.
Fields§
§name_template: StringTemplate for the manifest name, e.g. “ghcr.io/owner/app:{{ .Version }}”.
image_templates: Vec<String>Image references to include in the manifest.
create_flags: Option<Vec<String>>Extra flags for docker manifest create.
push_flags: Option<Vec<String>>Extra flags for docker manifest push.
skip_push: Option<SkipPushConfig>Skip push: true, false, or “auto” (skip for prereleases).
id: Option<String>Unique identifier for this manifest config.
use_backend: Option<String>Docker backend for manifest commands: “docker” (default) or “podman”.
retry: Option<DockerRetryConfig>Retry configuration for manifest push (handles transient registry errors).
Trait Implementations§
Source§impl Clone for DockerManifestConfig
impl Clone for DockerManifestConfig
Source§fn clone(&self) -> DockerManifestConfig
fn clone(&self) -> DockerManifestConfig
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 DockerManifestConfig
impl Debug for DockerManifestConfig
Source§impl Default for DockerManifestConfig
impl Default for DockerManifestConfig
Source§fn default() -> DockerManifestConfig
fn default() -> DockerManifestConfig
Source§impl<'de> Deserialize<'de> for DockerManifestConfigwhere
DockerManifestConfig: Default,
impl<'de> Deserialize<'de> for DockerManifestConfigwhere
DockerManifestConfig: 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 DockerManifestConfig
impl JsonSchema for DockerManifestConfig
Source§fn schema_name() -> String
fn schema_name() -> String
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 is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more