File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 build_and_publish :
99 runs-on : ubuntu-latest
1010 steps :
11+ - name : Set up SSH key
12+ run : |
13+ mkdir -p ~/.ssh
14+ echo "${{ secrets.ACTIONS_SSH_KEY }}" > ~/.ssh/id_rsa
15+ chmod 600 ~/.ssh/id_rsa
16+ ssh-keyscan github.com >> ~/.ssh/known_hosts
17+
1118 - name : checkout
1219 uses : actions/checkout@v2
1320 with :
1421 submodules : recursive
22+ ssh-key : ${{ secrets.ACTIONS_SSH_KEY }}
1523
1624 - name : Login to GitHub Container Registry
1725 uses : docker/login-action@v1
Original file line number Diff line number Diff line change 88 build_and_publish :
99 runs-on : ubuntu-latest
1010 steps :
11+ - name : Set up SSH key
12+ run : |
13+ mkdir -p ~/.ssh
14+ echo "${{ secrets.ACTIONS_SSH_KEY }}" > ~/.ssh/id_rsa
15+ chmod 600 ~/.ssh/id_rsa
16+ ssh-keyscan github.com >> ~/.ssh/known_hosts
17+
1118 - name : checkout
1219 uses : actions/checkout@v2
1320 with :
1421 submodules : recursive
15-
22+ ssh-key : ${{ secrets.ACTIONS_SSH_KEY }}
23+
1624 - name : Login to GitHub Container Registry
1725 uses : docker/login-action@v1
1826 with :
You can’t perform that action at this time.
0 commit comments