From d37f9f1fdc1cb7fb9f3fb2c8db2479d1e68fcdd0 Mon Sep 17 00:00:00 2001 From: apoloz Date: Wed, 22 May 2024 19:43:52 +0000 Subject: [PATCH] Update .gitea/workflows/test_infra.yaml --- .gitea/workflows/test_infra.yaml | 7 +++++++ 1 file changed, 7 insertions(+) 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