Skip to content

Commit 0719637

Browse files
committed
Update build.yaml
1 parent e05fd16 commit 0719637

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,16 @@ jobs:
5757
WS_SMTP_PASS: ${{ secrets.WS_SMTP_PASS }}
5858
WS_TASKS_DB_PASS: ${{ secrets.WS_TASKS_DB_PASS }}
5959
WS_TASKS_SECRET_KEY: ${{ secrets.WS_TASKS_SECRET_KEY }}
60+
61+
- name: Setup Docker Context
62+
run: |
63+
mkdir -p ~/.ssh
64+
echo "${{ secrets.GH_ACTIONS_SSH_KEY }}" > ~/.ssh/github_action
65+
chmod 600 ~/.ssh/github_actions
66+
ssh-add ~/.ssh/github_actions
67+
68+
docker context create dev2 --docker "host=ssh://[email protected]"
69+
docker context use dev2
70+
docker ps
71+
6072

0 commit comments

Comments
 (0)