File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 remove-dotnet : ' true'
1414 remove-android : ' true'
1515 - uses : actions/checkout@v4
16+ # - name: Build Image
17+ # uses: docker://archlinux:latest
18+ # with:
19+ # options: --privileged=true
20+ # args: |
21+ # ./build.sh beta-sk
22+ - run : df -h
1623 - name : Build Image
17- uses : docker://archlinux:latest
18- with :
19- options : --privileged=true
20- args : |
21- ./build.sh beta-sk
24+ run : |
25+ mkdir -p output
26+ mkdir -p workdir
27+ docker pull archlinux:latest
28+ docker run -u root --privileged=true -v $(pwd):/holoiso -v $(pwd)/workdir:/holoiso/workdir -v $(pwd)/output:/holoiso/output -e GITHUB_REF_NAME=$GITHUB_REF_NAME -w /holoiso archlinux:latest ./build.sh beta-sk
Original file line number Diff line number Diff line change 1+ FROM archlinux:base-devel
2+
3+ RUN echo -e "keyserver-options auto-key-retrieve" >> /etc/pacman.d/gnupg/gpg.conf && \
4+ # Cannot check space in chroot
5+ sed -i '/CheckSpace/s/^/#/g' /etc/pacman.conf && \
6+ pacman-key --init && \
7+ pacman --noconfirm -Syyuu && \
8+ pacman --noconfirm -S \
9+ arch-install-scripts \
10+ btrfs-progs \
11+ base-devel \
12+ fmt \
13+ xcb-util-wm \
14+ wget \
15+ sudo \
16+ && \
17+ pacman --noconfirm -S --needed git && \
18+ echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
19+ useradd build -G wheel -m
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ pacman-key --init
1313pacman --noconfirm -Syu btrfs-progs archiso git reflector
1414git clone https://github.com/3003n/buildroot buildroot -b sk
1515git clone https://github.com/3003n/postcopy -b ${POSTCOPY_CLONE} buildroot/postcopy_$1
16- mkdir -p $( pwd) /output $( pwd) /workdir
17- bash buildroot/build.sh --flavor $1 --deployment_rel $1 --snapshot_ver " ${GITHUB_REF_NAME} " --workdir $( pwd ) / workdir --output-dir $( pwd ) /output/holoiso-images --add-release
16+ # mkdir -p $(pwd)/output $(pwd)/workdir
17+ bash buildroot/build.sh --flavor $1 --deployment_rel $1 --snapshot_ver " ${GITHUB_REF_NAME} " --workdir /holoiso/ workdir --output-dir /holoiso /output/holoiso-images --add-release
You can’t perform that action at this time.
0 commit comments