ContainerImagePushOptions.RemoteImageName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.