21 writes to RemoteImageTag
Aspire.Hosting (3)
ApplicationModel\ResourceExtensions.cs (1)
1326
RemoteImageTag
= "latest"
Pipelines\DistributedApplicationPipeline.cs (1)
134
context.Options.
RemoteImageTag
= uniqueDeployTag;
ResourceBuilderExtensions.cs (1)
5372
context.Options.
RemoteImageTag
= remoteImageTag;
Aspire.Hosting.Tests (18)
ContainerImagePushOptionsTests.cs (11)
18
RemoteImageTag
= "v1.0.0"
37
RemoteImageTag
= "v1.0.0"
56
RemoteImageTag
= "latest"
76
RemoteImageTag
= "v2.0.0"
96
RemoteImageTag
= "dev"
115
RemoteImageTag
= "dev"
134
RemoteImageTag
= null
153
RemoteImageTag
= ""
172
RemoteImageTag
= "v1.0.0"
188
RemoteImageTag
= "v1.0.0"
204
RemoteImageTag
= "v1.0.0"
ResourceExtensionsTests.cs (7)
354
context.Options.
RemoteImageTag
= "test-tag";
362
RemoteImageTag
= ""
401
.WithImagePushOptions(context => context.Options.
RemoteImageTag
= "tag1")
410
RemoteImageTag
= ""
430
static void callback(ContainerImagePushOptionsCallbackContext context) => context.Options.
RemoteImageTag
= "test-tag";
453
context.Options.
RemoteImageTag
= "async-tag";
465
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"/>
34
/// This should not include the tag (e.g., <c>:latest</c>). Use <see cref="
RemoteImageTag
"/> for the tag.
64
/// If <see cref="
RemoteImageTag
"/> is <c>null</c> or empty, "latest" is used as the default tag.
84
var tag = string.IsNullOrEmpty(
RemoteImageTag
) ? "latest" :
RemoteImageTag
;
ApplicationModel\ContainerImagePushOptionsCallbackContext.cs (1)
45
/// <see cref="ContainerImagePushOptions.
RemoteImageTag
"/> properties to customize how the image is pushed to the registry.
ResourceBuilderExtensions.cs (1)
5346
/// This is a convenience method that registers a callback to set the <see cref="ContainerImagePushOptions.
RemoteImageTag
"/> property.
Aspire.Hosting.Tests (3)
ResourceExtensionsTests.cs (3)
372
Assert.Equal("test-tag", context.Options.
RemoteImageTag
);
420
Assert.Equal("tag1", context.Options.
RemoteImageTag
);
475
Assert.Equal("async-tag", context.Options.
RemoteImageTag
);