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 authored and github-actions committed Jan 11, 2025
1 parent c3fb9d1 commit 26c91cf
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 26c91cf

Please sign in to comment.