mirror of
https://github.com/armbian/sdk.git
synced 2026-01-06 11:08:52 -08:00
47 lines
1.9 KiB
YAML
47 lines
1.9 KiB
YAML
name: "Build Armbian"
|
|
on:
|
|
workflow_dispatch:
|
|
# manual trigger
|
|
schedule:
|
|
# runs every day at 3am UTC
|
|
- cron: '0 3 * * *'
|
|
|
|
jobs:
|
|
|
|
Keep:
|
|
name: "Keep alive"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# checkout this repository
|
|
- uses: actions/checkout@v4
|
|
# prevent GitHub from suspending cronjob
|
|
- uses: gautamkrishnar/keepalive-workflow@v1
|
|
|
|
Matrix:
|
|
needs: Keep
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
board: [uefi-x86,uefi-arm64]
|
|
os: ["jammy"]
|
|
extension: [",image-output-qcow2",""]
|
|
|
|
name: "${{ matrix.os }},${{ matrix.board }}${{ matrix.extension }}"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- uses: igorpecovnik/build@main # #uses: armbian/build@AR-1459
|
|
with:
|
|
armbian_token: "${{ secrets.GITHUB_TOKEN }}" # GitHub installation access token
|
|
armbian_target: "armbian-images" # build configuration from userpatches
|
|
armbian_kernel_branch: "current" # branch: legacy, current, edge, etc.
|
|
armbian_branch: "main" # build framework branch
|
|
armbian_release: "${{ matrix.os }}" # userspace: jammy, bookworm, trixie, etc.
|
|
armbian_board: "${{ matrix.board }}" # board build target
|
|
armbian_ui: "minimal" # minimal, server, xfce, gnome, etc.
|
|
armbian_extensions: "docker-ce,sdk${{ matrix.extension }}" # enable extensions
|
|
armbian_release_tittle: "Armbian SDK"
|
|
armbian_release_body: "Virtual images for x86 and arm64"
|
|
armbian_pgp_key: "${{ secrets.GPG_KEY1 }}"
|
|
armbian_pgp_password: "${{ secrets.GPG_PASSPHRASE1 }}"
|