2 writes to SHA256
Aspire.Hosting.Containers.Tests (2)
ContainerImageAnnotationTests.cs (2)
17
SHA256
= "pretendthisisasha"
36
annotation.
SHA256
= "pretendthisisasha";
6 references to SHA256
Aspire.Hosting (2)
ApplicationModel\ResourceExtensions.cs (2)
242
if (string.IsNullOrEmpty(imageAnnotation.
SHA256
))
249
var shaSuffix = $"@sha256:{imageAnnotation.
SHA256
}";
Aspire.Hosting.Containers.Tests (4)
ContainerImageAnnotationTests.cs (3)
23
Assert.Null(annotation.
SHA256
);
35
Assert.Null(annotation.
SHA256
);
37
Assert.Equal("pretendthisisasha", annotation.
SHA256
);
ContainerResourceBuilderTests.cs (1)
74
Assert.Equal("42b5c726e719639fcc1e9dbc13dd843f567dcd37911d0e1abb9f47f2cc1c95cd", redis.Resource.Annotations.OfType<ContainerImageAnnotation>().Single().
SHA256
);