Fix: Container has timezone always set to UTC
Build and deploy automation_rs / Build (push) Successful in 4m28s
Build and deploy automation_rs / Create container (push) Successful in 52s
Build and deploy automation_rs / Deploy Docker container (push) Successful in 33s

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.
This commit is contained in:
2023-11-23 01:02:49 +01:00
parent 234e891418
commit e069c6272f
+1
View File
@@ -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 }} \