File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1111 steps :
1212 - uses : actions/checkout@v3
1313
14- - name : Setting up SSH key to publish netboot image
15- uses : webfactory/ssh-agent@v0.8.0
16- with :
17- ssh-private-key : ${{ secrets.BOOT_SERVER_SSH_PRIVATE_KEY }}
18-
19- - name : SSH into remote host
20- run : |
21- ssh -o StrictHostKeyChecking=no ${{ secrets.BOOT_SERVER_SSH_USERNAME }}@${{ secrets.BOOT_SERVER_IP_ADDRESS }} "date"
22-
2314 - name : Build alpine image
2415 run : |
2516 podman run -it --rm -v $(pwd):/root/workdir alpine sh /root/workdir/build-alpine-netboot-zfs.sh
2819 run : |
2920 ./patch-alpine-netboot-image-with-zfs.sh
3021
22+ - name : Setting up SSH key to publish netboot image
23+ uses : webfactory/ssh-agent@v0.8.0
24+ with :
25+ ssh-private-key : ${{ secrets.BOOT_SERVER_SSH_PRIVATE_KEY }}
26+
27+ - name : scp netboot image to boot server
28+ run : |
29+ scp -o StrictHostKeyChecking=no iso/boot/alpine-netboot*.tar.gz ${{ secrets.BOOT_SERVER_SSH_USERNAME }}@${{ secrets.BOOT_SERVER_IP_ADDRESS }}:{{ secrets.BOOT_SERVER_IMG_DEST_DIR }}
30+
3131 - name : Publish alpine netboot image artifact
3232 uses : actions/upload-artifact@v3
3333 with :
You can’t perform that action at this time.
0 commit comments