Skip to content

Commit

Permalink
i hope this is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Jan 4, 2025
1 parent e9e92ab commit 80e1c2e
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,25 @@ jobs:
include:
- image_name: base
source_org: fedora-ostree-desktops
source_image: ${{ inputs.fedora_version != 40 && 'base-atomic' }}
fedora_version: 40
- image_name: base
source_org: fedora-ostree-desktops
source_image: base-atomic
fedora_version: 41
- image_name: lazurite
source_org: fedora-ostree-desktops
fedora_version: 40
- image_name: lazurite
source_org: fedora-ostree-desktops
source_image: ${{ inputs.fedora_version != 40 && 'lxqt-atomic' }}
fedora_version: 41
source_image: lxqt-atomic
- image_name: vauxite
source_org: fedora-ostree-desktops
fedora_version: 40
- image_name: vauxite
source_org: fedora-ostree-desktops
source_image: ${{ inputs.fedora_version != 40 && 'xfce-atomic' }}
fedora_version: 41
source_image: xfce-atomic
- image_name: sericea
source_image: fedora-sway-atomic
- image_name: onyx
Expand All @@ -58,9 +70,10 @@ jobs:
- name: Matrix Variables
shell: bash
run: |
if [[ "${{ matrix.source_org }}" == "fedora-ostree-desktops" ]]; then
if [[ -n "${{ matrix.source_org }}" ]]; then
echo "SOURCE_ORG=${{ matrix.source_org }}" >> $GITHUB_ENV
fi
if [[ -n "${{ matrix.source_image }}" ]]; then
echo "SOURCE_IMAGE=fedora-${{ matrix.image_name }}" >> $GITHUB_ENV
else
Expand Down

0 comments on commit 80e1c2e

Please sign in to comment.