Skip to content

Build image for Test channel #8

Build image for Test channel

Build image for Test channel #8

Workflow file for this run

env:
GH_TOKEN: "${{ github.token }}"
jobs:
build:
needs: "prepare_release"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Upload rbuild image"
uses: "radxa-repo/rbuild@main"
with:
board: "${{ matrix.boards }}"
flavor: "${{ matrix.flavors }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
release-id: "${{ needs.prepare_release.outputs.release_id }}"
suite: "${{ matrix.suites }}"
test-repo: true
timestamp: "t${{ github.run_number }}"
strategy:
matrix:
boards:
- "radxa-cm5-rpi-cm4-io"
flavors:
- "kde"
suites:
- "bullseye"
prepare_release:
outputs:
release_id: "${{ steps.release.outputs.id }}"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Generate rbuild changelog"
uses: "radxa-repo/rbuild-changelog@main"
with:
product: "radxa-cm5-rpi-cm4-io"
- id: "release"
name: "Create empty release"
uses: "softprops/action-gh-release@v2"
with:
body: |
This is a test build for internal development.
Only use when specifically instructed by Radxa support.
draft: false
files: ".changelog/changelog.md"
prerelease: true
tag_name: "test-build-${{ github.run_number }}"
target_commitish: "main"
token: "${{ secrets.GITHUB_TOKEN }}"
name: "Build image for Test channel"
"on":
workflow_dispatch: {}