Skip to content

Commit 6e08590

Browse files
authored
Merge pull request #79 from rainersigwald/preview7
Adopt .NET 7 preview 7
2 parents d211a08 + 643e941 commit 6e08590

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Microsoft.NET.Build.Containers/LocalDocker.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static async Task WriteImageToStream(Image x, string name, string tag, St
5050

5151
// Stuff that (uncompressed) tarball into the image tar stream
5252
string layerTarballPath = $"{d.Digest.Substring("sha256:".Length)}/layer.tar";
53-
writer.WriteEntry(localPath, layerTarballPath);
53+
await writer.WriteEntryAsync(localPath, layerTarballPath);
5454
layerTarballPaths.Add(layerTarballPath);
5555
}
5656

@@ -64,7 +64,7 @@ public static async Task WriteImageToStream(Image x, string name, string tag, St
6464
DataStream = configStream
6565
};
6666

67-
writer.WriteEntry(configEntry); // TODO: asyncify these when API available (Preview 7)
67+
await writer.WriteEntryAsync(configEntry);
6868
}
6969

7070
// Add manifest
@@ -87,7 +87,7 @@ public static async Task WriteImageToStream(Image x, string name, string tag, St
8787
DataStream = manifestStream
8888
};
8989

90-
writer.WriteEntry(manifestEntry); // TODO: asyncify these when API available (Preview 7)
90+
await writer.WriteEntryAsync(manifestEntry);
9191
}
9292
}
9393
}

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "7.0.100-preview.6.22352.1",
3+
"version": "7.0.100-preview.7.22377.5",
44
"allowPrerelease": true,
55
"rollForward": "latestMajor"
66
}

0 commit comments

Comments
 (0)