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:
Jiang Long
2025-10-21 21:47:08 +08:00
committed by GitHub
parent c03a5fb3c1
commit ea25fd1b3e

View File

@@ -97,7 +97,7 @@ export async function createJobPod(
image:
process.env.ACTIONS_RUNNER_IMAGE ||
'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: {
runAsGroup: 1001,
runAsUser: 1001