@@ -23,7 +23,6 @@ namespace Dotnet.Docker
23
23
/// </summary>
24
24
public class DockerfileShaUpdater : FileRegexUpdater
25
25
{
26
- private const string ReleaseDotnetBaseUrl = $ "https://dotnetcli.blob.core.windows.net/dotnet";
27
26
private const string ReleaseDotnetBaseCdnUrl = $ "https://builds.dotnet.microsoft.com/dotnet";
28
27
29
28
private const string ShaVariableGroupName = "shaVariable" ;
@@ -146,7 +145,7 @@ public static IEnumerable<IDependencyUpdater> CreateUpdaters(
146
145
protected override string ? TryGetDesiredValue (
147
146
IEnumerable < IDependencyInfo > dependencyBuildInfos , out IEnumerable < IDependencyInfo > usedBuildInfos )
148
147
{
149
- usedBuildInfos = [ dependencyBuildInfos . First ( info => info . SimpleName == _productName ) ] ;
148
+ usedBuildInfos = [ dependencyBuildInfos . First ( info => info . SimpleName == _productName ) ] ;
150
149
151
150
string baseUrl = ManifestHelper . GetBaseUrl ( _manifestVariables . Value , _options ) ;
152
151
// Remove Aspire Dashboard case once https://github.com/dotnet/aspire/issues/2035 is fixed.
@@ -289,7 +288,7 @@ private static string GetArch(string[] variableParts)
289
288
// the daily build location, we wouldn't use the release checksums file and instead use the other means of
290
289
// retrieving the checksums.
291
290
string baseUrl = ManifestHelper . GetBaseUrl ( _manifestVariables . Value , _options ) ;
292
- if ( baseUrl != ReleaseDotnetBaseUrl && baseUrl != ReleaseDotnetBaseCdnUrl )
291
+ if ( baseUrl != ReleaseDotnetBaseCdnUrl )
293
292
{
294
293
return null ;
295
294
}
@@ -350,7 +349,7 @@ private async Task<IDictionary<string, string>> GetChecksumsFromChecksumsFile()
350
349
351
350
private async Task < IDictionary < string , string > > GetDotnetReleaseChecksums ( string ? version )
352
351
{
353
- string uri = $ "{ ReleaseDotnetBaseUrl } /checksums/{ version } -sha.txt";
352
+ string uri = $ "{ ReleaseDotnetBaseCdnUrl } /checksums/{ version } -sha.txt";
354
353
355
354
return await GetChecksums (
356
355
uri ,
0 commit comments