4 writes to SHA256
Aspire.Hosting (2)
ContainerResourceBuilderExtensions.cs (2)
293
imageAnnotation.
SHA256
= digest;
317
existingImageAnnotation.
SHA256
= sha256;
Aspire.Hosting.Containers.Tests (2)
ContainerImageAnnotationTests.cs (2)
16
SHA256
= "pretendthisisasha"
35
annotation.
SHA256
= "pretendthisisasha";
9 references to SHA256
Aspire.Hosting (2)
ApplicationModel\ResourceExtensions.cs (2)
545
if (string.IsNullOrEmpty(imageAnnotation.
SHA256
))
552
var shaSuffix = $"@sha256:{imageAnnotation.
SHA256
}";
Aspire.Hosting.Containers.Tests (7)
ContainerImageAnnotationTests.cs (3)
22
Assert.Null(annotation.
SHA256
);
34
Assert.Null(annotation.
SHA256
);
36
Assert.Equal("pretendthisisasha", annotation.
SHA256
);
ContainerResourceBuilderTests.cs (2)
73
Assert.Equal("42b5c726e719639fcc1e9dbc13dd843f567dcd37911d0e1abb9f47f2cc1c95cd", redis.Resource.Annotations.OfType<ContainerImageAnnotation>().Single().
SHA256
);
226
Assert.Equal(expectedSha256, containerImage.
SHA256
);
ContainerResourceTests.cs (2)
67
Assert.Null(containerAnnotation.
SHA256
);
85
Assert.Equal("01234567890abcdef01234567890abcdef01234567890abcdef01234567890ab", containerAnnotation.
SHA256
);