Skip to content

Commit e1d4f27

Browse files
verify boot server ssh
1 parent 0c31610 commit e1d4f27

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-alpine-netboot-image-zfs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ jobs:
1414
run: |
1515
podman run -it --rm -v $(pwd):/root/workdir alpine sh /root/workdir/build-alpine-netboot-zfs.sh
1616
17+
- name: Setting up SSH key to publish netboot image
18+
uses: webfactory/ssh-agent@v0.8.0
19+
with:
20+
ssh-private-key: ${{ secrets.BOOT_SERVER_SSH_PRIVATE_KEY }}
21+
22+
- name: SSH into remote host
23+
run: |
24+
ssh -o StrictHostKeyChecking=no ${{ secrets.BOOT_SERVER_SSH_USERNAME }}@${{ secrets.BOOT_SERVER_IP_ADDRESS }} "date"
25+
26+
1727
- name: Patch alpine image
1828
run: |
1929
./patch-alpine-netboot-image-with-zfs.sh

0 commit comments

Comments
 (0)