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 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("commit.ref"),
|
||||||
c.String("repo.branch"),
|
c.String("repo.branch"),
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user