Revert Reapply append tags with autotag instead of replacing

This commit is contained in:
Thomas Boerger 2019-10-10 09:32:09 +02:00
parent 6e2e66de0e
commit aa2a947782
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
1 changed files with 2 additions and 2 deletions

View File

@ -280,10 +280,10 @@ func run(c *cli.Context) error {
c.String("commit.ref"),
c.String("repo.branch"),
) {
plugin.Build.Tags = append(plugin.Build.Tags, docker.DefaultTagSuffix(
plugin.Build.Tags = docker.DefaultTagSuffix(
c.String("commit.ref"),
c.String("tags.suffix"),
)...)
)
} else {
logrus.Printf("skipping automated docker build for %s", c.String("commit.ref"))
return nil