-
-
Notifications
You must be signed in to change notification settings - Fork 167
45 lines (41 loc) · 1.1 KB
/
build-image-latest.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
name: Latest Images
on:
merge_group:
pull_request:
branches:
- main
- testing
paths-ignore:
- "**.md"
schedule:
- cron: "40 4 * * 1,2,3,4,5,6" # 4:40 UTC All But Sunday
- cron: "40 4 * * 0" # 4:40 UTC Sunday
workflow_call:
workflow_dispatch:
jobs:
build-image-latest:
name: Build Latest Images
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
strategy:
fail-fast: false
matrix:
brand_name: ["bluefin", "aurora"]
with:
image_flavors: '["main", "nvidia", "hwe", "hwe-nvidia"]'
brand_name: ${{ matrix.brand_name }}
stream_name: latest
# This needs splitting, right now a kernel pin will not work due to hwe kernel
generate-release:
name: Generate Release
needs: [build-image-latest]
secrets: inherit
uses: ./.github/workflows/generate-release.yml
with:
stream_name: '["latest"]'
build-iso-latest:
name: Build Latest ISOs
needs: [build-image-latest]
if: github.event.schedule == '40 4 * * 0'
secrets: inherit
uses: ./.github/workflows/build-iso-latest.yml