From 483f037f557b8d4269799045e1bb7969f6f73a71 Mon Sep 17 00:00:00 2001 From: apoloz Date: Wed, 22 May 2024 19:56:44 +0000 Subject: [PATCH] Update .gitea/workflows/test_infra.yaml --- .gitea/workflows/test_infra.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/test_infra.yaml b/.gitea/workflows/test_infra.yaml index da82367..4859a3f 100644 --- a/.gitea/workflows/test_infra.yaml +++ b/.gitea/workflows/test_infra.yaml @@ -14,10 +14,9 @@ jobs: - name: Add the SSH key to known_hosts run: | mkdir -p ~/.ssh + ssh-keyscan -p 222 10.55.5.123 >> ~/.ssh/known_hosts echo ${{ vars.MY_SSH_PRIV_KEY }} > ~/.ssh/id_rsa - cat ~/.ssh/id_rsa chmod 0600 ~/.ssh/id_rsa - ssh-keyscan -p 222 10.55.5.123 >> ~/.ssh/known_hosts - name: init containers run: make init