fix: github action ssh
This commit is contained in:
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user