diff --git a/.gitea/workflows/test_infra.yaml b/.gitea/workflows/test_infra.yaml index 706f9c5..a212fbf 100644 --- a/.gitea/workflows/test_infra.yaml +++ b/.gitea/workflows/test_infra.yaml @@ -11,6 +11,13 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Add the SSH key to known_hosts + run: | + mkdir -p ~/.ssh + echo ${{ secrets.MY_SSH_PRIV_KEY }} > ~/.ssh/id_rsa + chmod 0644 /root/.ssh/id_rsa + ssh-keyscan -p 222 10.55.5.123 >> ~/.ssh/known_hosts + - name: init containers run: make init