diff --git a/.gitea/workflows/builder.yaml b/.gitea/workflows/builder.yaml index 83f6a74..2057392 100644 --- a/.gitea/workflows/builder.yaml +++ b/.gitea/workflows/builder.yaml @@ -21,11 +21,12 @@ jobs: apt update apt install -y xorriso curl genisoimage cpio ./build/amd64.sh - - name: Upload ISO image - uses: actions/upload-artifact@v4 - with: - name: halis-debian-11.6.0-amd64.iso - path: halis-debian-11.6.0-amd64.iso + - name: Upload ISO image to generic package registry + run: | + curl --user your_username:your_password_or_token \ + --header 'authorization: Bearer ${{ secrets.GITEA_TOKEN }}' \ + --upload-file halis-debian-11.6.0-amd64.img.xz \ + 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: container: diff --git a/build/arm64.sh b/build/arm64.sh index dcf9445..786c715 100755 --- a/build/arm64.sh +++ b/build/arm64.sh @@ -39,3 +39,5 @@ sudo umount mnt -R echo "Compressing resulting image" xz $RASPIOS_IMG + +cp $RASPIOS_IMG.xz halis-debian-11.6.0-amd64.img.xz