mirror of
https://github.com/drone/drone-kaniko.git
synced 2026-07-06 16:12:40 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 17e907c7cf | |||
| 2d0315e6bb |
+10
-1
@@ -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",
|
repoBranch: "master",
|
||||||
commitRef: "refs/tags/v1.0.0",
|
commitRef: "refs/tags/v1.0.0",
|
||||||
autoTagSuffix: "linux-amd64",
|
autoTagSuffix: "linux-amd64",
|
||||||
|
|||||||
Reference in New Issue
Block a user