Share via


ContainerImagePushOptions.RemoteImageName Property

Definition

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

public string? RemoteImageName { get; set; }
member this.RemoteImageName : string with get, set
Public Property RemoteImageName As String

Property Value

The repository path for the image. This can be specified in several formats:

  • Simple image name: myapp - Uses the registry endpoint and repository from the associated IContainerRegistry.
  • Repository and image: myorg/myapp - Uses the registry endpoint but overrides the repository.
  • Full path with host: docker.io/captainsafia/myapp - Overrides both the registry endpoint and repository.

This should not include the tag (e.g., :latest). Use RemoteImageTag for the tag. If not set explicitly, defaults to the resource name in lowercase.

Applies to