Skip to content

refactor: Reorganize Build Process #34

refactor: Reorganize Build Process

refactor: Reorganize Build Process #34

name: Latest Images
on:
merge_group:
pull_request:
branches:
- main
- testing
paths-ignore:
- "**.md"
push:
branches:
- main
paths-ignore:
- "**.md"
schedule:
- cron: "40 4 * * *" # 4:40 UTC everyday
workflow_call:
workflow_dispatch:
inputs:
brand_name:
description: "Image Brand to Build"
default: '["bluefin"]'
type: choice
options:
- '["bluefin"]'
- '["aurora"]'
- '["bluefin", "aurora"]'
jobs:
build-image-latest:
name: Build Latest Images
uses: ./.github/workflows/reusable-build.yml

Check failure on line 32 in .github/workflows/build-image-latest.yml

View workflow run for this annotation

GitHub Actions / Latest Images

Invalid workflow file

The workflow is not valid. In .github/workflows/build-image-latest.yml (Line: 32, Col: 11): Error from called workflow ublue-os/bluefin/.github/workflows/reusable-build.yml@add2a58c3eed33c688414e7394ab180e3684e28a (Line: 487, Col: 9): Unrecognized named-value: 'matrix'. Located at position 84 within expression: (github.event_name == 'workflow_dispatch' || github.event_name == 'scheduled') && (matrix.fedora_version == 'gts' || inputs.fedora_version == 'stable' && jobs.build_container.outputs.stable_release == 'true')
secrets: inherit
strategy:
fail-fast: false
matrix:
brand_name: ${{ fromJson(inputs.brand_name || '["bluefin", "aurora"]') }}
with:
image_flavors: '["main", "nvidia", "hwe", "hwe-nvidia"]'
brand_name: ${{ matrix.brand_name }}
fedora_version: latest