mirror of
https://github.com/apple/container.git
synced 2026-09-11 18:25:41 +00:00
Reference image via sha for test (#190)
CI was failing since the test image we use had a tag re-pushed. Pinning the test to reference the image version by its sha --------- Signed-off-by: Aditya Ramani <a_ramani@apple.com>
This commit is contained in:
@@ -69,7 +69,8 @@ final class ImageStoreImagePullTests {
|
||||
(nil, imagePullTestAllLayers),
|
||||
])
|
||||
func testPullSinglePlatform(platform: Platform?, expectLayers: [String]) async throws {
|
||||
let img = try await self.store.pull(reference: "ghcr.io/linuxcontainers/alpine:3.20", platform: platform)
|
||||
let img = try await self.store.pull(
|
||||
reference: "ghcr.io/linuxcontainers/alpine:3.20@sha256:0a6a86d44d7f93c4f2b8dea7f0eee64e72cb98635398779f3610949632508d57", platform: platform)
|
||||
let rootDescriptor = img.descriptor
|
||||
let index: ContainerizationOCI.Index = try await contentStore.get(digest: rootDescriptor.digest)!
|
||||
var foundMatch = false
|
||||
|
||||
Reference in New Issue
Block a user