Mount host zoneinfo into runner for TZ support #160
1 changed files with 7 additions and 0 deletions
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>
commit
0a908a347d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue