From 9d38d0a1d99bd0a01e14c98a5e6a8839932f043b Mon Sep 17 00:00:00 2001 From: Xiaoxuan Wang Date: Mon, 25 Mar 2024 10:14:05 +0000 Subject: [PATCH] refined Signed-off-by: Xiaoxuan Wang --- test/e2e/suite/command/tag.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/suite/command/tag.go b/test/e2e/suite/command/tag.go index 3fae41fd3..d1536d1ab 100644 --- a/test/e2e/suite/command/tag.go +++ b/test/e2e/suite/command/tag.go @@ -119,6 +119,7 @@ var _ = Describe("OCI image layout users:", func() { ref := filepath.Base(root) ORAS("tag", LayoutRef(ref, multi_arch.Tag), Flags.Layout, "latest").WithWorkDir(dir).MatchKeyWords("Tagging [oci-layout]", "Tagged latest").Exec() ORAS("tag", LayoutRef(ref, multi_arch.Tag), Flags.Layout, "tag2").WithWorkDir(dir).MatchKeyWords("Tagging [oci-layout]", "Tagged tag2").Exec() + ORAS("repo", "tags", Flags.Layout, LayoutRef(ref, multi_arch.Tag)).WithWorkDir(dir).MatchKeyWords(multi_arch.Tag, "latest", "tag2").Exec() }) }) })