Skip to content

Build Pi Image

Build Pi Image #8

Workflow file for this run

name: Build-Pi
on:
workflow_dispatch
jobs:
build-pi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: RPi-Distro/pi-gen
ref: arm64
- uses: actions/checkout@v4
with:
path: main
- run: sudo apt-get update
- run: sudo apt-get install -y coreutils quilt parted qemu-user-static debootstrap zerofree zip dosfstools libarchive-tools libcap2-bin grep rsync xz-utils file git curl bc qemu-utils kpartx gpg pigz arch-test
- name: Run pi-gen
run: |
cp -r main/pi/* .
sudo ./build.sh
- uses: actions/upload-artifact@v4
with:
path: deploy/*.img.xz