Skip to content

env. WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG isn't working anymore since 1.4.0 #1205

@MilesTEG1

Description

@MilesTEG1

Describe the bug
Since the update to 1.4.0, the environment variable WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG isn't working.
In my docker-compose.yml file, I set this : - WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG=[ Watchtower-DS920+ ]
But all email I received has this subject:
Watchtower updates on 5d11f1abc714
image

Before the update, I got :
image

To Reproduce

Expected behavior
It should be with the subject I declare in the env variables, like this not too old email:
image

Screenshots
See previous...

Environment

  • Platform = Synology NAS DS920+
  • Architecture = amd64 (CPU = Intel Celeron J4125)
  • Docker version = 20.10.3, build b455053

I use Portainer CE 2.11 to create my container

Logs from running watchtower with the --debug option I'm not sure how to do the --debug option... But here what I have: ```log time="2022-01-25T09:56:09+01:00" level=debug time="2022-01-25T09:56:09+01:00" level=debug msg="Sleeping for a second to ensure the docker api client has been properly initialized." time="2022-01-25T09:56:10+01:00" level=debug msg="Making sure everything is sane before starting" time="2022-01-25T09:56:10+01:00" level=debug msg="Retrieving running containers" time="2022-01-25T09:56:10+01:00" level=debug msg="There are no additional watchtower containers" time="2022-01-25T09:56:10+01:00" level=debug msg="Watchtower HTTP API skipped." time="2022-01-25T09:56:10+01:00" level=info msg="Watchtower 1.4.0" time="2022-01-25T09:56:10+01:00" level=info msg="Using notifications: smtp" time="2022-01-25T09:56:10+01:00" level=info msg="Only checking containers using enable label" time="2022-01-25T09:56:10+01:00" level=info msg="Scheduling first run: 2022-01-26 05:00:00 +0100 CET" time="2022-01-25T09:56:10+01:00" level=info msg="Note that the first check will be performed in 19 hours, 3 minutes, 49 seconds" ```

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions