19 writes to RemoteImageName
Aspire.Hosting (2)
ApplicationModel\ResourceExtensions.cs (1)
1325
RemoteImageName
= resource.Name.ToLowerInvariant(),
ResourceBuilderExtensions.cs (1)
5332
context.Options.
RemoteImageName
= remoteImageName;
Aspire.Hosting.Tests (17)
ContainerImagePushOptionsTests.cs (11)
17
RemoteImageName
= "myapp",
36
RemoteImageName
= "myapp",
55
RemoteImageName
= "myorg/myapp",
75
RemoteImageName
= "ghcr.io/myuser/myrepo",
95
RemoteImageName
= "localhost:5000/myapp",
114
RemoteImageName
= "localhost/myapp",
133
RemoteImageName
= "myapp",
152
RemoteImageName
= "myapp",
171
RemoteImageName
= null,
187
RemoteImageName
= "",
203
RemoteImageName
= "myapp",
ResourceExtensionsTests.cs (6)
353
context.Options.
RemoteImageName
= "myrepo/myimage";
361
RemoteImageName
= "",
402
.WithImagePushOptions(context => context.Options.
RemoteImageName
= "myrepo/myimage");
409
RemoteImageName
= "",
452
context.Options.
RemoteImageName
= $"myrepo/{context.Resource.Name}";
464
RemoteImageName
= "",
11 references to RemoteImageName
Aspire.Hosting (8)
ApplicationModel\ContainerImagePushOptions.cs (6)
13
/// The <see cref="
RemoteImageName
"/> specifies the repository path (without registry endpoint or tag),
59
/// <exception cref="InvalidOperationException">Thrown when <see cref="
RemoteImageName
"/> is <c>null</c> or empty.</exception>
67
/// The <see cref="
RemoteImageName
"/> value is parsed to determine if it contains an override for the registry
68
/// host or repository. If the <see cref="
RemoteImageName
"/> contains a host component (detected by the presence
77
if (string.IsNullOrEmpty(
RemoteImageName
))
87
var (host, imagePath) = ParseImageReference(
RemoteImageName
);
ApplicationModel\ContainerImagePushOptionsCallbackContext.cs (1)
44
/// Callbacks should modify the <see cref="ContainerImagePushOptions.
RemoteImageName
"/> and
ResourceBuilderExtensions.cs (1)
5306
/// This is a convenience method that registers a callback to set the <see cref="ContainerImagePushOptions.
RemoteImageName
"/> property.
Aspire.Hosting.Tests (3)
ResourceExtensionsTests.cs (3)
371
Assert.Equal("myrepo/myimage", context.Options.
RemoteImageName
);
423
Assert.Equal("myrepo/myimage", context.Options.
RemoteImageName
);
474
Assert.Equal("myrepo/test-container", context.Options.
RemoteImageName
);