Signed-off-by: m2 <69128853+m2Giles@users.noreply.github.com> Co-authored-by: Benjamin Sherman <benjamin@holyarmy.org> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: befanyt <172807209+befanyt@users.noreply.github.com>
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
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:
|
|
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"]'
|
|
|
|
build-iso-stable:
|
|
name: Build Stable ISOs
|
|
needs: [build-image-stable]
|
|
if: github.event_name.schedule == '45 5 * * 0'
|
|
secrets: inherit
|
|
uses: ./.github/workflows/build-iso-stable.yml
|