Skip to content

Commit

Permalink
allow reading all mcr image names
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel committed Jan 14, 2025
1 parent df21997 commit e6ba01e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,11 @@ private bool ComputeRepositoryAndTag([NotNullWhen(true)] out string? repository,
};
}

private bool UserImageIsMicrosoftBaseImage => UserBaseImage?.StartsWith("mcr.microsoft.com/dotnet") ?? false;
private bool UserImageIsMicrosoftBaseImage => UserBaseImage?.StartsWith("mcr.microsoft.com/") ?? false;

private void LogNoInferencePerformedTelemetry()
{
// we should only log the base image, tag, containerFamily if we _know_ they are .NET's MCR images
// we should only log the base image, tag, containerFamily if we _know_ they are MCR images
string? userBaseImage = null;
string? userTag = null;
string? containerFamily = null;
Expand Down

0 comments on commit e6ba01e

Please sign in to comment.