Skip to content

Commit f4f1754

Browse files
Surayya Huseyn ZadaSurayya Huseyn Zada
authored andcommitted
add back log message about building image index
1 parent c8d4e09 commit f4f1754

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Containers/Microsoft.NET.Build.Containers/Tasks/CreateImageIndex.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,20 @@ internal async Task<bool> ExecuteAsync(CancellationToken cancellationToken)
6969
LocalRegistry);
7070

7171
var images = ParseImages(destinationImageReference.Kind);
72-
7372
if (Log.HasLoggedErrors)
7473
{
7574
return false;
7675
}
7776

78-
GeneratedArchiveOutputPath = ArchiveOutputPath;
77+
logger.LogInformation(Strings.BuildingImageIndex, destinationImageReference, string.Join(", ", images.Select(i => i.ManifestDigest)));
7978

8079
var telemetry = new Telemetry(sourceImageReference, destinationImageReference, Log);
8180

8281
await ImagePublisher.PublishImageAsync(images, sourceImageReference, destinationImageReference, Log, BuildEngine, telemetry, cancellationToken)
8382
.ConfigureAwait(false);
8483

84+
GeneratedArchiveOutputPath = ArchiveOutputPath;
85+
8586
return !Log.HasLoggedErrors;
8687
}
8788

0 commit comments

Comments
 (0)