diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 044a1510..31ed52dd 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -9,6 +9,7 @@ on: required: true options: - raspberry-pi-4 + - banana-pi-r3 default: 'raspberry-pi-4' use_latest_release: description: 'Use latest release artifacts instead of workflow artifacts' @@ -55,6 +56,10 @@ jobs: echo "BOOTLOADER=rpi4_boot" >> $GITHUB_ENV echo "TARGET=aarch64" >> $GITHUB_ENV ;; + banana-pi-r3) + echo "BOOTLOADER=mt7986_sd_boot" >> $GITHUB_ENV + echo "TARGET=aarch64" >> $GITHUB_ENV + ;; *) echo "Error: Unknown board ${{ inputs.board }}" exit 1 @@ -142,7 +147,7 @@ jobs: # Use the standardized mkimage.sh path for the selected board # BOARD_SCRIPT="src/board/${{ inputs.board }}/mkimage.sh" - BOARD_SCRIPT="src/board/raspberry-pi-4/mkimage.sh" + BOARD_SCRIPT="src/board/${{ inputs.board }}/mkimage.sh" if [ -f "$BOARD_SCRIPT" ]; then echo "Using board-specific image creation script: $BOARD_SCRIPT"