🔧 chore(action-runner): sync container time with host system
- add /etc/localtime volume mount for time synchronization - set volume as read-only to maintain security
This commit is contained in:
parent
7d2b372252
commit
01326b99d0
|
|
@ -18,6 +18,7 @@ services:
|
||||||
RUNNER_GROUP: ${RUNNER_GROUP}
|
RUNNER_GROUP: ${RUNNER_GROUP}
|
||||||
AUTO_UNREGISTER: ${AUTO_UNREGISTER}
|
AUTO_UNREGISTER: ${AUTO_UNREGISTER}
|
||||||
volumes:
|
volumes:
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ./config:/home/runner/.runner_config
|
- ./config:/home/runner/.runner_config
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue