From 48fb9ef24744152f0da3030c587322df85e1ee06 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Thu, 23 Nov 2023 01:02:49 +0100 Subject: [PATCH] Fix: Container has timezone always set to UTC This became an issue once schedules where added, as they would run at the wrong time. In order to fix it the host's timezone information is mounted. --- .gitea/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 7eb2a72..c0ec759 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -87,6 +87,7 @@ jobs: --pull always \ --restart unless-stopped \ --name automation_rs \ + -e TZ=Europe/Amsterdam \ -e RUST_LOG=automation=debug \ -e MQTT_PASSWORD=${{ secrets.MQTT_PASSWORD }} \ -e HUE_TOKEN=${{ secrets.HUE_TOKEN }} \