Skip to content

Commit

Permalink
Merge pull request #181 from petabridge/dependabot/nuget/Docker.DotNe…
Browse files Browse the repository at this point in the history
…t-3.125.5

Bump Docker.DotNet from 3.125.4 to 3.125.5
  • Loading branch information
Arkatufus authored Sep 9, 2021
2 parents 98129d9 + 2393674 commit a4ef798
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Docker.DotNet" Version="3.125.4" />
<PackageReference Include="Docker.DotNet" Version="3.125.5" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,16 @@ public async Task Initialize()
_client = config.CreateClient();

var images =
await _client.Images.ListImagesAsync(new ImagesListParameters {MatchName = AzureStorageImageName});
await _client.Images.ListImagesAsync(new ImagesListParameters
{
Filters = new Dictionary<string, IDictionary<string, bool>>
{
["reference"] = new Dictionary<string, bool>
{
[AzureStorageImageName] = true
}
}
});
if (images.Count == 0)
await _client.Images.CreateImageAsync(
new ImagesCreateParameters {FromImage = AzureStorageImageName, Tag = "latest"}, null,
Expand Down

0 comments on commit a4ef798

Please sign in to comment.