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: