Skip to content

Commit 3b37208

Browse files
authored
Create iso-build.yml
1 parent d117b3e commit 3b37208

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/iso-build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build TCET Linux ISO
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 60
13+
14+
permissions:
15+
contents: write
16+
17+
container:
18+
image: archlinux:latest
19+
options: --privileged
20+
21+
steps:
22+
- uses: actions/checkout@v3
23+
24+
- name: Update packages and install archiso
25+
run: pacman -Syu --noconfirm archiso mkinitcpio-archiso git squashfs-tools
26+
27+
- name: Build ISO
28+
run: |
29+
pacman -S --noconfirm --needed archlinux-keyring wget
30+
wget https://raw.githubusercontent.com/theCode-Breaker/arch-linux-gui-gnome/master/pacman.conf -O /etc/pacman.conf
31+
#echo "Fetching chaotic keys"
32+
#pacman-key --init && pacman-key --recv-key 0706B90D37D9B881 FBA220DFC880C036 --keyserver keyserver.ubuntu.com && pacman-key --lsign-key 0706B90D37D9B881 FBA220DFC880C036 && pacman --noconfirm -U 'https://geo-mirror.chaotic.cx/chaotic-aur/chaotic-'{keyring,mirrorlist}'.pkg.tar.zst' && echo "[chaotic-aur]" >> /etc/pacman.conf && echo "Include = /etc/pacman.d/chaotic-mirrorlist" >> /etc/pacman.conf
33+
#pacman-key --populate archlinux chaotic
34+
mkarchiso -v -w ./work -o ./out ./
35+
echo "ISO Built in ./out folder!"

0 commit comments

Comments
 (0)