Fix: Container has timezone always set to UTC
All checks were successful
Build and deploy automation_rs / Build (push) Successful in 4m35s
Build and deploy automation_rs / Create container (push) Successful in 48s
Build and deploy automation_rs / Deploy Docker container (push) Successful in 40s

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 48fb9ef247

View File

@@ -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 }} \