2019-04-03 21:02:05 +02:00
|
|
|
package main // import "github.com/containrrr/watchtower"
|
2015-07-13 23:41:04 +02:00
|
|
|
|
|
|
|
import (
|
2019-06-22 22:04:36 +02:00
|
|
|
"github.com/containrrr/watchtower/cmd"
|
2019-04-08 17:38:17 +02:00
|
|
|
log "github.com/sirupsen/logrus"
|
2015-07-13 23:41:04 +02:00
|
|
|
)
|
|
|
|
|
2017-01-24 22:41:32 +02:00
|
|
|
// DockerAPIMinVersion is the version of the docker API, which is minimally required by
|
|
|
|
// watchtower. Currently we require at least API 1.24 and therefore Docker 1.12 or later.
|
|
|
|
|
2017-02-02 19:37:12 +02:00
|
|
|
var version = "master"
|
2017-12-27 20:15:50 +02:00
|
|
|
var commit = "unknown"
|
|
|
|
var date = "unknown"
|
2017-02-02 19:37:12 +02:00
|
|
|
|
2015-07-24 21:51:21 +02:00
|
|
|
func init() {
|
|
|
|
log.SetLevel(log.InfoLevel)
|
|
|
|
}
|
|
|
|
|
2015-07-13 23:41:04 +02:00
|
|
|
func main() {
|
2019-06-22 22:04:36 +02:00
|
|
|
cmd.Execute()
|
2019-04-08 17:38:17 +02:00
|
|
|
}
|