Mount host zoneinfo into runner for TZ support

The forgejo/runner image doesn't ship tzdata, so the TZ env var alone
has no effect. Mount the node's /usr/share/zoneinfo into the container.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-02-11 16:56:35 -08:00
commit 0a908a347d

View file

@ -56,6 +56,9 @@ spec:
mountPath: /data
- name: config
mountPath: /config
- name: zoneinfo
mountPath: /usr/share/zoneinfo
readOnly: true
# Docker-in-Docker sidecar
- name: dind
@ -77,3 +80,7 @@ spec:
- name: config
configMap:
name: forgejo-runner-config
- name: zoneinfo
hostPath:
path: /usr/share/zoneinfo
type: Directory