Watch Aspire live streamsDocsTry Aspire

withRemoteImageName

Method
📦 Aspire.Hosting v13.6.5
interface ContainerResource {
// ... omitted for brevity
withRemoteImageName(remoteImageName: string): IComputeResource;
}

Signature

methodwithRemoteImageNamebuilder
Sets the remote image name (without registry endpoint or tag) for container push operations.
withRemoteImageName(remoteImageName: string): IComputeResource
remoteImageNamestringThe remote image name (e.g., "myapp" or "myorg/myapp").
IComputeResource

Applies to

This method applies to the following types: