0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-22 20:20:39 +00:00

Revert "append tags with autotag instead of replacing"

This commit is contained in:
Brad Rydzewski 2019-08-06 13:09:07 -07:00 committed by GitHub
parent 14e80ddb03
commit b47dd5d7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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