From 101f1c670d6b0e1e197626128e854df2a32d3bd7 Mon Sep 17 00:00:00 2001 From: apoloz Date: Wed, 22 May 2024 21:55:46 +0000 Subject: [PATCH] Update .gitea/workflows/test_infra.yaml --- .gitea/workflows/test_infra.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test_infra.yaml b/.gitea/workflows/test_infra.yaml index e2cef0e..7bbb691 100644 --- a/.gitea/workflows/test_infra.yaml +++ b/.gitea/workflows/test_infra.yaml @@ -17,10 +17,11 @@ jobs: run: | # ssh-agent -a $SSH_AUTH_SOCK > /dev/null mkdir -p ~/.ssh - echo "${{ vars.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa + ssh-add - <<< "${{ vars.SSH_PRIVATE_KEY }}" + # echo "${{ vars.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh-keyscan -p 222 10.55.5.123 >> ~/.ssh/known_hosts - #ssh-add - <<< "${{ vars.SSH_PRIVATE_KEY }}" + # ssh-add - <<< "${{ vars.SSH_PRIVATE_KEY }}" - name: init containers #env: