fix(ci): provision a read-only deploy key for the linux runner #4
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ci-runner-permissions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #3, now merged. After the known-hosts/CARGO_HOME/CARGO_NET_GIT_FETCH_WITH_CLI fixes, the linux runner's container hit one more real wall:
git@git.toilville.dev: Permission denied (publickey)— that container has no SSH identity of its own.FORGE_CI_DEPLOY_KEYis a fresh, dedicated ed25519 keypair generated for this purpose. The public half is registered as a read-only deploy key on bothforge-kv-cacheandmlx-rs-mirror; the private half is stored as a Forgejo Actions secret on this repo only. This PR writes it to a temp file at job start and pointsGIT_SSH_COMMANDat it.