mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-14 08:36:45 +00:00
Change command to remove sudo to fix fs-init inital container (#263)
* Change command to copy externals instead of move * fix: using only mv, remove sudo
This commit is contained in:
@@ -97,7 +97,7 @@ export async function createJobPod(
|
|||||||
image:
|
image:
|
||||||
process.env.ACTIONS_RUNNER_IMAGE ||
|
process.env.ACTIONS_RUNNER_IMAGE ||
|
||||||
'ghcr.io/actions/actions-runner:latest',
|
'ghcr.io/actions/actions-runner:latest',
|
||||||
command: ['sh', '-c', 'sudo mv /home/runner/externals/* /mnt/externals'],
|
command: ['sh', '-c', 'mv /home/runner/externals/* /mnt/externals'],
|
||||||
securityContext: {
|
securityContext: {
|
||||||
runAsGroup: 1001,
|
runAsGroup: 1001,
|
||||||
runAsUser: 1001
|
runAsUser: 1001
|
||||||
|
|||||||
Reference in New Issue
Block a user