diff --git a/.gitea/workflows/test_infra.yaml b/.gitea/workflows/test_infra.yaml index 4859a3f..10d8784 100644 --- a/.gitea/workflows/test_infra.yaml +++ b/.gitea/workflows/test_infra.yaml @@ -15,8 +15,9 @@ jobs: run: | mkdir -p ~/.ssh ssh-keyscan -p 222 10.55.5.123 >> ~/.ssh/known_hosts - echo ${{ vars.MY_SSH_PRIV_KEY }} > ~/.ssh/id_rsa - chmod 0600 ~/.ssh/id_rsa + ssh-add - <<< "${{ secrets.MY_SSH_PRIV_KEY }}" + # echo ${{ vars.MY_SSH_PRIV_KEY }} > ~/.ssh/id_rsa + # chmod 0600 ~/.ssh/id_rsa - name: init containers run: make init