mend
This commit is contained in:
parent
eff8add72a
commit
91e249dc75
@ -23,10 +23,9 @@ jobs:
|
|||||||
./build/amd64.sh
|
./build/amd64.sh
|
||||||
- name: Upload ISO image to generic package registry
|
- name: Upload ISO image to generic package registry
|
||||||
run: |
|
run: |
|
||||||
curl --user your_username:your_password_or_token \
|
curl --header 'Authorization: Bearer ${{ REGISTRY_TOKEN }}' \
|
||||||
--header 'authorization: Bearer ${{ secrets.GITEA_TOKEN }}' \
|
--upload-file halis-12.5.0-amd64.iso \
|
||||||
--upload-file halis-debian-11.6.0-amd64.img.xz \
|
https://git.halis.io/api/packages/athens-school/generic/halis-iso/0.0.1/halis-amd64.iso
|
||||||
https://git.halis.io/api/packages/athens-school/generic/halis-iso-arm64/0.0.1/halis-debian-11.6.0-amd64.img.xz
|
|
||||||
|
|
||||||
build-arm64:
|
build-arm64:
|
||||||
container:
|
container:
|
||||||
@ -43,7 +42,8 @@ jobs:
|
|||||||
apt update
|
apt update
|
||||||
apt install -y curl xz-utils file sudo
|
apt install -y curl xz-utils file sudo
|
||||||
./build/arm64.sh
|
./build/arm64.sh
|
||||||
- name: Upload ISO image
|
- name: Upload ISO image to generic package registry
|
||||||
uses: actions/upload-artifact@v4
|
run: |
|
||||||
with:
|
curl --header 'Authorization: Bearer ${{ REGISTRY_TOKEN }}' \
|
||||||
path: ./*.img.xz
|
--upload-file halis-11.6.0-arm64.img.xz \
|
||||||
|
https://git.halis.io/api/packages/athens-school/generic/halis-iso/0.0.1/halis-arm64.img.xz
|
||||||
|
@ -13,4 +13,4 @@ cd isofiles
|
|||||||
sh -c "find -follow -type f ! -name md5sum.txt -print0 | xargs -0 md5sum > md5sum.txt"
|
sh -c "find -follow -type f ! -name md5sum.txt -print0 | xargs -0 md5sum > md5sum.txt"
|
||||||
cd ..
|
cd ..
|
||||||
chmod -w -R isofiles/
|
chmod -w -R isofiles/
|
||||||
genisoimage -r -J -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o halis-debian-12.5.0-amd64.iso isofiles
|
genisoimage -r -J -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o halis-12.5.0-amd64.iso isofiles
|
||||||
|
@ -37,7 +37,9 @@ EOT
|
|||||||
echo "Unmounting second partition"
|
echo "Unmounting second partition"
|
||||||
sudo umount mnt -R
|
sudo umount mnt -R
|
||||||
|
|
||||||
echo "Compressing resulting image"
|
CORE_COUNT=$((`nproc`-1))
|
||||||
xz $RASPIOS_IMG
|
|
||||||
|
|
||||||
cp $RASPIOS_IMG.xz halis-debian-11.6.0-amd64.img.xz
|
echo "Compressing resulting image"
|
||||||
|
xz -T$CORE_COUNT $RASPIOS_IMG
|
||||||
|
|
||||||
|
mv $RASPIOS_IMG.xz halis-11.6.0-arm64.img.xz
|
||||||
|
Loading…
Reference in New Issue
Block a user