-
-
Notifications
You must be signed in to change notification settings - Fork 163
52 lines (49 loc) · 1.31 KB
/
build-image-stable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Stable Images
on:
merge_group: # Make Stable-Daily run on merge groups
pull_request:
branches:
- main
- testing
paths-ignore:
- "**.md"
schedule:
- cron: "45 5 * * 1,2,3,4,5,6" # 5:41 UTC everyday
- cron: "45 5 * * 0" # 5:41 UTC sunday
workflow_call:
workflow_dispatch:
inputs:
brand_name:
description: "Image Brand to Build"
default: '["bluefin"]'
type: choice
options:
- '["bluefin"]'
- '["aurora"]'
- '["bluefin", "aurora"]'
jobs:
build-image-stable:
name: Build Stable Images
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
strategy:
fail-fast: false
matrix:
brand_name: ${{ fromJson(inputs.brand_name || '["bluefin", "aurora"]') }}
with:
kernel_pin: 6.11.3-300.fc41.x86_64
brand_name: ${{ matrix.brand_name }}
stream_name: stable
generate-release:
name: Generate Release
needs: [build-image-stable]
secrets: inherit
uses: ./.github/workflows/generate-release.yml
with:
stream_name: '["stable", "stable-daily"]'
build-iso-stable:
name: Build Stable ISOs
needs: [build-image-stable]
if: github.event.schedule == '45 5 * * 0'
secrets: inherit
uses: ./.github/workflows/build-iso-stable.yml