21 writes to RemoteImageTag
Aspire.Hosting (3)
ApplicationModel\ResourceExtensions.cs (1)
1080
RemoteImageTag
= "latest"
Pipelines\DistributedApplicationPipeline.cs (1)
134
context.Options.
RemoteImageTag
= uniqueDeployTag;
ResourceBuilderExtensions.cs (1)
3264
context.Options.
RemoteImageTag
= remoteImageTag;
Aspire.Hosting.Tests (18)
ContainerImagePushOptionsTests.cs (11)
17
RemoteImageTag
= "v1.0.0"
36
RemoteImageTag
= "v1.0.0"
55
RemoteImageTag
= "latest"
75
RemoteImageTag
= "v2.0.0"
95
RemoteImageTag
= "dev"
114
RemoteImageTag
= "dev"
133
RemoteImageTag
= null
152
RemoteImageTag
= ""
171
RemoteImageTag
= "v1.0.0"
187
RemoteImageTag
= "v1.0.0"
203
RemoteImageTag
= "v1.0.0"
ResourceExtensionsTests.cs (7)
312
context.Options.
RemoteImageTag
= "test-tag";
320
RemoteImageTag
= ""
359
.WithImagePushOptions(context => context.Options.
RemoteImageTag
= "tag1")
368
RemoteImageTag
= ""
388
static void callback(ContainerImagePushOptionsCallbackContext context) => context.Options.
RemoteImageTag
= "test-tag";
411
context.Options.
RemoteImageTag
= "async-tag";
423
RemoteImageTag
= ""
10 references to RemoteImageTag
Aspire.Hosting (7)
ApplicationModel\ContainerImagePushOptions.cs (5)
14
/// and <see cref="
RemoteImageTag
"/> specifies the tag to apply. Use <see cref="GetFullRemoteImageNameAsync"/>
33
/// This should not include the tag (e.g., <c>:latest</c>). Use <see cref="
RemoteImageTag
"/> for the tag.
63
/// If <see cref="
RemoteImageTag
"/> is <c>null</c> or empty, "latest" is used as the default tag.
83
var tag = string.IsNullOrEmpty(
RemoteImageTag
) ? "latest" :
RemoteImageTag
;
ApplicationModel\ContainerImagePushOptionsCallbackContext.cs (1)
43
/// <see cref="ContainerImagePushOptions.
RemoteImageTag
"/> properties to customize how the image is pushed to the registry.
ResourceBuilderExtensions.cs (1)
3242
/// This is a convenience method that registers a callback to set the <see cref="ContainerImagePushOptions.
RemoteImageTag
"/> property.
Aspire.Hosting.Tests (3)
ResourceExtensionsTests.cs (3)
330
Assert.Equal("test-tag", context.Options.
RemoteImageTag
);
378
Assert.Equal("tag1", context.Options.
RemoteImageTag
);
433
Assert.Equal("async-tag", context.Options.
RemoteImageTag
);