Skip to content

Commit 4680bfd

Browse files
authored
Update docker-image.yml
1 parent 21048d0 commit 4680bfd

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/docker-image.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,17 @@ jobs:
1414
uses: actions/checkout@v2
1515

1616
- name: Set up SSH
17-
uses: webfactory/ssh-agent@v0.5.3
18-
with:
19-
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
17+
run: |
18+
mkdir -p ~/.ssh
19+
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
20+
chmod 600 ~/.ssh/id_rsa
21+
ssh-keyscan github.com >> ~/.ssh/known_hosts
22+
23+
# - name: Set up SSH
24+
# uses: webfactory/ssh-agent@v0.5.3
25+
# with:
26+
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
27+
2028

2129
# - name: Update packages
2230
# run: |

0 commit comments

Comments
 (0)