Skip to content

Kernel Build

Kernel Build #175

Workflow file for this run

name: Kernel Build
on:
# Weekly auto-build
schedule:
- cron: "0 0 * * 1"
# A merge that changes a kernel config snippet changes the built kernel
# without bumping any version, so republish the release set now rather than
# waiting for the weekly cron. On main the tags carry no branch suffix, so
# this overwrites the canonical release tags with the new config content.
push:
branches:
- main
paths:
- "configs/**"
workflow_dispatch:
inputs:
spec:
description: 'Build Specification'
type: string
default: "only-latest-lts"
required: true
publish:
description: 'Publish Builds'
type: boolean
default: true
required: true
# this job will publish images, and needs higher perms.
permissions:
contents: read
packages: write
id-token: write
jobs:
build:
uses: ./.github/workflows/matrix.yml
secrets: inherit
with:
# schedule/push carry no inputs, so this fallback is what the cron and
# the configs/** push actually build. Keep it equal to the
# workflow_dispatch default above.
spec: ${{ inputs.spec || 'only-latest-lts' }}
publish: ${{ inputs.publish == '' || inputs.publish }}