File tree Expand file tree Collapse file tree 1 file changed +22
-4
lines changed
Expand file tree Collapse file tree 1 file changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,35 @@ jobs:
3232 sudo /bin/bash ./scripts/dappnode_uninstall.sh y
3333
3434 iso :
35- name : test ISO
35+ name : test Debian and Ubuntu ISO
3636 runs-on : ubuntu-latest
3737
3838 steps :
3939 - name : Checkout
4040 uses : actions/checkout@v4
41- - name : create iso
41+
42+ # Create Debian ISO
43+ - name : create Debian ISO
4244 run : |
45+ sed -i -e "/BASE_OS/s/ubuntu/debian/" docker-compose.yml
4346 docker compose build
4447 docker compose up
4548 ls images/
46- - name : verify image
49+
50+ # Verify Debian ISO creation
51+ - name : verify Debian ISO
52+ run : |
53+ ls -lrt images/Dappnode-debian-*.iso
54+
55+ # Create Ubuntu ISO
56+ - name : create Ubuntu ISO
57+ run : |
58+ sed -i -e "/BASE_OS/s/debian/ubuntu/" docker-compose.yml
59+ docker compose build
60+ docker compose up
61+ ls images/
62+
63+ # Verify Ubuntu ISO creation
64+ - name : verify Ubuntu ISO
4765 run : |
48- ls -lrt images/Dappnode-*.iso
66+ ls -lrt images/Dappnode-ubuntu- *.iso
You can’t perform that action at this time.
0 commit comments