fix: github action ssh

This commit is contained in:
Janik von Rotz committed 2025-02-01 16:52:09 +01:00
1 parent 36dd921256
commit a26b263ec6
1 file changed
+2
+2
View File
@@ -963,6 +963,8 @@ function test-container() {
if [ ! -f "tmp/ed25519" ]; then
ssh-keygen -t ed25519 -C admin@example.com -f tmp/ed25519 -N ""
fi
eval "$(ssh-agent -s)"
ssh-add tmp/ed25519 || (entrypoint-log "Dumping tmp/ed25519 content:" && cat tmp/ed25519)
GIT_SSH_PRIVATE_KEY=$(cat tmp/ed25519 | base64 -w0)
GIT_SSH_PUBLIC_KEY=$(cat tmp/ed25519.pub)
fi