DotNetPublishSettingsExtensions Class

Summary

Contains functionality related to .NET publish settings.
Namespace
Cake.Common.Tools.DotNet.Publish
Base Types
  • object
graph BT Type-->Base0["object"] Type["DotNetPublishSettingsExtensions"] class Type type-node

Syntax

public static class DotNetPublishSettingsExtensions

Methods

Name Value Summary
WithContainerArchive(DotNetPublishSettings, FilePath, string) DotNetPublishSettings
Publishes the project as a container image written to a .tar.gz archive. Creates Container if not set, otherwise keeps its other settings, and clears any local registry or registry destination.
static
WithContainerBaseImage(DotNetPublishSettings, string) DotNetPublishSettings
Sets the base image the container image is built from. Creates Container if not set, otherwise keeps its other settings.
static
WithContainerLocalRegistry(DotNetPublishSettings, DotNetContainerLocalRegistry, string, string, string) DotNetPublishSettings
Publishes the project as a container image loaded into a local registry (container engine), i.e. Docker or Podman. Creates Container if not set, otherwise keeps its other settings, and clears any archive or registry destination.
static
WithContainerRegistry(DotNetPublishSettings, string, string, string, string) DotNetPublishSettings
Publishes the project as a container image pushed to a registry, i.e. ghcr.io. Creates Container if not set, otherwise keeps its other settings, and clears any archive or local registry destination.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin