diff --git a/chart/gha-runner/templates/deployment.yaml b/chart/gha-runner/templates/deployment.yaml index 1ae2e21..2e45305 100644 --- a/chart/gha-runner/templates/deployment.yaml +++ b/chart/gha-runner/templates/deployment.yaml @@ -39,6 +39,7 @@ spec: - -cex - | cp -Rf /home/github/* /home/github-new/ + cp -Rf /home/github/.cache /home/github/.local /home/github-new/ gpg --import /secrets/private.rsa cp -Rf /home/github/.gnupg /home/github-new/.gnupg @@ -47,7 +48,7 @@ spec: cp /secrets/id_rsa /home/github-new/.ssh/id_rsa cp /secrets/id_rsa.pub /home/github-new/.ssh/id_rsa.pub cp /secrets/known_hosts /home/github-new/.ssh/known_hosts - + chmod 0600 /home/github-new/.ssh/id_rsa volumeMounts: - name: runtime-secrets