Skip to content

Commit 4edae4a

Browse files
Merge pull request #24 from gardenlinux/nightlies
Enable nightly builds
2 parents e1e2148 + 3131e8a commit 4edae4a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/nightly.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: nightly
2+
on:
3+
schedule:
4+
- cron: "0 6 * * *"
5+
# triggered manually
6+
workflow_dispatch:
7+
inputs:
8+
version:
9+
description: "Version to build"
10+
type: string
11+
default: now
12+
use_kms:
13+
description: "Use KMS to encrypt the secureboot db"
14+
type: boolean
15+
required: false
16+
default: false
17+
jobs:
18+
checkout:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
with:
24+
submodules: "recursive"
25+
build:
26+
needs: [checkout]
27+
uses: gardenlinux/gardenlinux/.github/workflows/build.yml@main
28+
with:
29+
version: ${{ inputs.version || 'now' }}
30+
use_kms: ${{ github.event_name != 'workflow_dispatch' || inputs.use_kms }}

0 commit comments

Comments
 (0)