From e069c6272f2fb95af499fe6482d87026bb5f4615 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..d59e7cf 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -87,6 +87,7 @@ jobs: --pull always \ --restart unless-stopped \ --name automation_rs \ + -v /etc/localtime:/etc/localtime:ro \ -e RUST_LOG=automation=debug \ -e MQTT_PASSWORD=${{ secrets.MQTT_PASSWORD }} \ -e HUE_TOKEN=${{ secrets.HUE_TOKEN }} \