1 write to RegistryName
Microsoft.NET.Build.Containers (1)
Registry\Registry.cs (1)
111RegistryName = DeriveRegistryName(baseUri);
25 references to RegistryName
Microsoft.NET.Build.Containers (25)
ContainerBuilder.cs (3)
83logger.LogError(Resource.FormatString(nameof(Strings.RepositoryNotFound), baseImageName, baseImageTag, baseImageDigest, registry.RegistryName)); 88logger.LogError(Resource.FormatString(nameof(Strings.UnableToAccessRepository), baseImageName, registry.RegistryName)); 262logger.LogInformation(Strings.ContainerBuilder_ImageUploadedToRegistry, destinationImageReference, destinationImageReference.RemoteRegistry.RegistryName);
ImagePublisher.cs (2)
150Log.LogMessage(MessageImportance.High, successMessage, destinationImageReference, destinationImageReference.RemoteRegistry!.RegistryName); 154Log.LogErrorWithCodeFromResources(nameof(Strings.UnableToAccessRepository), destinationImageReference.Repository, destinationImageReference.RemoteRegistry!.RegistryName);
Registry\Registry.cs (17)
121_settings = settings ?? new RegistrySettings(RegistryName); 122_registryAPI = factory.Create(RegistryName, BaseUri, logger, _settings.IsInsecure); 157public bool IsGithubPackageRegistry => RegistryName.StartsWith(RegistryConstants.GitHubPackageRegistryDomain, StringComparison.Ordinal); 162public bool IsMcr => RegistryName.Equals(RegistryConstants.MicrosoftContainerRegistryDomain, StringComparison.Ordinal); 167public bool IsDockerHub => RegistryName.Equals(ContainerHelpers.DockerRegistryAlias, StringComparison.Ordinal) 168|| RegistryName.Equals(DockerHubRegistry1, StringComparison.Ordinal) 169|| RegistryName.Equals(DockerHubRegistry2, StringComparison.Ordinal); 179get => RegistryName.EndsWith("-docker.pkg.dev", StringComparison.Ordinal); 182public bool IsAzureContainerRegistry => RegistryName.EndsWith(".azurecr.io", StringComparison.OrdinalIgnoreCase); 568_logger.LogInformation(Strings.Registry_TagUploadStarted, tag, RegistryName); 570_logger.LogInformation(Strings.Registry_TagUploaded, tag, RegistryName); 587_logger.LogInformation(Strings.Registry_LayerUploadStarted, digest, destinationRegistry.RegistryName); 605_logger.LogInformation(Strings.Registry_LayerUploaded, digest, destinationRegistry.RegistryName); 643_logger.LogInformation(Strings.Registry_TagUploadStarted, tag, RegistryName); 645_logger.LogInformation(Strings.Registry_TagUploaded, tag, RegistryName); 650_logger.LogInformation(Strings.Registry_ManifestUploadStarted, RegistryName, builtImage.ManifestDigest); 652_logger.LogInformation(Strings.Registry_ManifestUploaded, RegistryName);
SourceImageReference.cs (1)
17sourceImageReference = $"{reg.RegistryName}/{sourceImageReference}";
Tasks\CreateNewImage.cs (2)
113Log.LogErrorWithCodeFromResources(nameof(Strings.RepositoryNotFound), BaseImageName, BaseImageTag, BaseImageDigest, registry.RegistryName); 119Log.LogErrorWithCodeFromResources(nameof(Strings.UnableToAccessRepository), BaseImageName, registry.RegistryName);