Skip to content

Commit

Permalink
build armbian
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurii Smetanka committed Oct 21, 2024
1 parent 8616002 commit 240e2cc
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
44 changes: 44 additions & 0 deletions .github/workflows/build-armbian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: "build armbian"

on:
workflow_dispatch:
inputs:
armbian_kernel_branch:
type: choice
description: 'Kernel branch'
options:
- legacy
- current
- edge
default: 'current'

armbian_ui:
type: choice
description: 'User interface (not all works)'
options:
- minimal
- server
- xfce
- gnome
- cinnamon
- i3-wm
- kde-plasma
default: 'server'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: publish/build

- uses: armbian/[email protected]
with:
armbian_token: "${{ secrets.REPO_KEY }}"
armbian_target: "build"
armbian_release: "bookworm"
armbian_kernel_branch: "${{inputs.armbian_kernel_branch}}"
armbian_ui: "${{inputs.armbian_ui}}"
armbian_board: "bananapim4zero"
armbian_version: "v24.11.0-trunk.303"
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Build ${{ matrix.name }} img file
run: cd publish/build; ls -la .; pwd; make packer; make ${{ matrix.id }}

- name: Change name of .img.xz to add version
run: |
sudo chown runner:docker "pwnagotchi-${{ matrix.id }}.img"
Expand Down

0 comments on commit 240e2cc

Please sign in to comment.