Share via


ContainerImagePushOptions Class

Definition

Represents options for pushing container images to a registry.

public sealed class ContainerImagePushOptions
type ContainerImagePushOptions = class
Public NotInheritable Class ContainerImagePushOptions
Inheritance
ContainerImagePushOptions

Remarks

This class allows customization of how container images are named and tagged when pushed to a container registry. The RemoteImageName specifies the repository path (without registry endpoint or tag), and RemoteImageTag specifies the tag to apply. Use GetFullRemoteImageNameAsync(IContainerRegistry, CancellationToken) to construct the complete image reference including registry endpoint and tag.

Constructors

Name Description
ContainerImagePushOptions()

Properties

Name Description
RemoteImageName

Gets or sets the remote image name (repository path without registry endpoint or tag).

RemoteImageTag

Gets or sets the remote image tag.

Methods

Name Description
GetFullRemoteImageNameAsync(IContainerRegistry, CancellationToken)

Gets the full remote image name including registry endpoint and tag.

Applies to