1
0
mirror of https://github.com/containrrr/watchtower.git synced 2024-12-12 09:04:17 +02:00
watchtower/main.go

22 lines
472 B
Go
Raw Normal View History

2019-04-03 21:02:05 +02:00
package main // import "github.com/containrrr/watchtower"
import (
2019-06-22 22:04:36 +02:00
"github.com/containrrr/watchtower/cmd"
log "github.com/sirupsen/logrus"
)
// 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.
var version = "master"
var commit = "unknown"
var date = "unknown"
func init() {
log.SetLevel(log.InfoLevel)
}
func main() {
2019-06-22 22:04:36 +02:00
cmd.Execute()
}