Merge pull request #245 from drone-plugins/revert-243-revert-242-appendtags
Reapply append tags with autotag instead of replacing
This commit is contained in:
commit
6e2e66de0e
@ -280,10 +280,10 @@ func run(c *cli.Context) error {
|
||||
c.String("commit.ref"),
|
||||
c.String("repo.branch"),
|
||||
) {
|
||||
plugin.Build.Tags = docker.DefaultTagSuffix(
|
||||
plugin.Build.Tags = append(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
|
||||
|
Loading…
Reference in New Issue
Block a user