mirror of
https://github.com/thegeeklab/drone-docker-buildx.git
synced 2024-11-14 00:30:40 +00:00
Revert "append tags with autotag instead of replacing"
This commit is contained in:
parent
14e80ddb03
commit
b47dd5d7bc
@ -280,10 +280,10 @@ func run(c *cli.Context) error {
|
|||||||
c.String("commit.ref"),
|
c.String("commit.ref"),
|
||||||
c.String("repo.branch"),
|
c.String("repo.branch"),
|
||||||
) {
|
) {
|
||||||
plugin.Build.Tags = append(plugin.Build.Tags, docker.DefaultTagSuffix(
|
plugin.Build.Tags = docker.DefaultTagSuffix(
|
||||||
c.String("commit.ref"),
|
c.String("commit.ref"),
|
||||||
c.String("tags.suffix"),
|
c.String("tags.suffix"),
|
||||||
)...)
|
)
|
||||||
} else {
|
} else {
|
||||||
logrus.Printf("skipping automated docker build for %s", c.String("commit.ref"))
|
logrus.Printf("skipping automated docker build for %s", c.String("commit.ref"))
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user