mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
feat: update shoutrrr to v0.7 (#1543)
This commit is contained in:
parent
547d033460
commit
264046d5f9
4 changed files with 546 additions and 75 deletions
|
@ -30,7 +30,7 @@ To send notifications via shoutrrr, the following command-line options, or their
|
||||||
- `--notification-url` (env. `WATCHTOWER_NOTIFICATION_URL`): The shoutrrr service URL to be used. This option can also reference a file, in which case the contents of the file are used.
|
- `--notification-url` (env. `WATCHTOWER_NOTIFICATION_URL`): The shoutrrr service URL to be used. This option can also reference a file, in which case the contents of the file are used.
|
||||||
|
|
||||||
|
|
||||||
Go to [containrrr.dev/shoutrrr/v0.6/services/overview](https://containrrr.dev/shoutrrr/v0.6/services/overview) to
|
Go to [containrrr.dev/shoutrrr/v0.7/services/overview](https://containrrr.dev/shoutrrr/v0.6/services/overview) to
|
||||||
learn more about the different service URLs you can use. You can define multiple services by space separating the
|
learn more about the different service URLs you can use. You can define multiple services by space separating the
|
||||||
URLs. (See example below)
|
URLs. (See example below)
|
||||||
|
|
||||||
|
|
6
go.mod
6
go.mod
|
@ -3,7 +3,7 @@ module github.com/containrrr/watchtower
|
||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/containrrr/shoutrrr v0.6.1
|
github.com/containrrr/shoutrrr v0.7.0
|
||||||
github.com/docker/cli v20.10.23+incompatible
|
github.com/docker/cli v20.10.23+incompatible
|
||||||
github.com/docker/distribution v2.8.1+incompatible
|
github.com/docker/distribution v2.8.1+incompatible
|
||||||
github.com/docker/docker v20.10.23+incompatible
|
github.com/docker/docker v20.10.23+incompatible
|
||||||
|
@ -36,8 +36,8 @@ require (
|
||||||
github.com/hashicorp/hcl v1.0.0 // indirect
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
||||||
github.com/inconshreveable/mousetrap v1.0.1 // indirect
|
github.com/inconshreveable/mousetrap v1.0.1 // indirect
|
||||||
github.com/magiconair/properties v1.8.7 // indirect
|
github.com/magiconair/properties v1.8.7 // indirect
|
||||||
github.com/mattn/go-colorable v0.1.12 // indirect
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
||||||
github.com/mattn/go-isatty v0.0.14 // indirect
|
github.com/mattn/go-isatty v0.0.16 // indirect
|
||||||
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
|
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
|
||||||
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
||||||
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
|
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
|
||||||
|
|
|
@ -63,6 +63,7 @@ func (e *emailTypeNotifier) GetURL(c *cobra.Command) (string, error) {
|
||||||
UseHTML: false,
|
UseHTML: false,
|
||||||
Encryption: shoutrrrSmtp.EncMethods.Auto,
|
Encryption: shoutrrrSmtp.EncMethods.Auto,
|
||||||
Auth: shoutrrrSmtp.AuthTypes.None,
|
Auth: shoutrrrSmtp.AuthTypes.None,
|
||||||
|
ClientHost: "localhost",
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(e.User) > 0 {
|
if len(e.User) > 0 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue