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 |
Dot |
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
|
| With |
Dot |
Sets the base image the container image is built from.
Creates
Container if not set, otherwise keeps its other settings.
static
|
| With |
Dot |
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
|
| With |
Dot |
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 |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
From StringExtensions
Requires the Cake.Issues addin
|
