From 2d0315e6bbae59c2fc6f501b885b45a04fa38dcd Mon Sep 17 00:00:00 2001 From: Kyle Lemons Date: Thu, 3 Nov 2022 06:35:06 -0700 Subject: [PATCH] Add beta testcase for clarity, coverage, and regression prevention (#64) --- kaniko_test.go | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/kaniko_test.go b/kaniko_test.go index 1f63399..e61c1cb 100644 --- a/kaniko_test.go +++ b/kaniko_test.go @@ -100,7 +100,16 @@ func TestBuild_AutoTags(t *testing.T) { }, }, { - name: "tag push", + name: "beta tag push", + repoBranch: "master", + commitRef: "refs/tags/v1.0.0-beta.1", + autoTagSuffix: "", + expectedTags: []string{ + "1.0.0-beta.1", + }, + }, + { + name: "tag push with suffix", repoBranch: "master", commitRef: "refs/tags/v1.0.0", autoTagSuffix: "linux-amd64",