Skip to content

Commit 2ce737a

Browse files
committed
OpenConceptLab/ocl_online#31 | added ssh agent
1 parent 8848648 commit 2ce737a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
echo "${{ secrets.PRIVATE_GIT_PACKAGES_DEPLOY_KEY }}" > ~/.ssh/id_rsa
5656
chmod 600 ~/.ssh/id_rsa
5757
ssh-keyscan github.com >> ~/.ssh/known_hosts
58+
- name: Setup SSH agent
59+
uses: webfactory/ssh-agent@v0.9.0
60+
with:
61+
ssh-private-key: ${{ secrets.PRIVATE_GIT_PACKAGES_DEPLOY_KEY }}
5862
- name: Build and push Docker image
5963
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
6064
with:

0 commit comments

Comments
 (0)