mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-26 05:30:39 +00:00
update comment
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
a5011aab39
commit
bb681102e9
@ -245,7 +245,7 @@ func run(c *cli.Context) error {
|
||||
}
|
||||
|
||||
if c.Bool("tags.auto") {
|
||||
if docker.UseDefaultTag( // return true if not default branch, or not tag
|
||||
if docker.UseDefaultTag( // return true if tag event or default branch
|
||||
c.String("commit.ref"),
|
||||
c.String("repo.branch"),
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user