From 9a7ce807ef9dc72c4db5078bebf1aff4dae4fa8c Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Wed, 27 Mar 2024 06:25:34 +0000 Subject: [PATCH] fix e2e Signed-off-by: Billy Zha --- test/e2e/suite/command/attach.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/suite/command/attach.go b/test/e2e/suite/command/attach.go index 1920eb9b4..26ad96931 100644 --- a/test/e2e/suite/command/attach.go +++ b/test/e2e/suite/command/attach.go @@ -106,7 +106,7 @@ var _ = Describe("1.1 registry users:", func() { // pending for https://github.com/project-zot/zot/pull/2351 to be released // CopyZOTRepo(ImageRepo, testRepo) subjectRef := RegistryRef(ZOTHost, testRepo, multi_arch.Tag) - ORAS("cp", subjectRef, RegistryRef(ZOTHost, testRepo, multi_arch.Tag)).Exec() + ORAS("cp", RegistryRef(ZOTHost, ImageRepo, multi_arch.Tag), subjectRef).Exec() artifactType := "test/attach" // test out := ORAS("attach", "--artifact-type", artifactType, subjectRef, fmt.Sprintf("%s:%s", foobar.AttachFileName, foobar.AttachFileMedia), "--format", "{{.Digest}}", "--platform", "linux/amd64").