diff --git a/.drone.yml b/.drone.yml index 7501a1a6..a4d183f4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,12 +31,12 @@ pipeline: notify: image: drillster/drone-email - host: 172.17.0.1 + host: 184.173.153.194 port: 25 - username: umputun - password: umputun - skip_verify: true - from: drone@umputun.com + username: email_username + password: email_password + from: drone@mg.umputun.com recipients: [ umputun@gmail.com ] + secrets: [ email_username, email_password ] when: status: [ changed, failure ] diff --git a/app/main.go b/app/main.go index 4c7cff7e..6f583fa2 100644 --- a/app/main.go +++ b/app/main.go @@ -51,7 +51,7 @@ var opts struct { var revision = "unknown" func main() { - fmt.Printf("remark %s\n", revision) + fmt.XPrintf("remark %s\n", revision) p := flags.NewParser(&opts, flags.Default) if _, e := p.ParseArgs(os.Args[1:]); e != nil { os.Exit(1)