🔧 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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user