Skip to content

Commit

Permalink
fix: install correct packages for each variant (#9)
Browse files Browse the repository at this point in the history
* fix: add debug statement for package install

* fix: add FEDORA_EDITION build arg
  • Loading branch information
p5 authored Aug 18, 2024
1 parent c95299d commit d58f4df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/reusable-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ jobs:
build-args: |
IMAGE_NAME=${{ matrix.image_name }}
FEDORA_VERSION=${{ matrix.fedora_version }}
FEDORA_EDITION=${{ matrix.image_name }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}

Expand Down
2 changes: 2 additions & 0 deletions scripts/_base/003-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ if [[ -z "$FEDORA_VERSION" ]]; then
exit 1
fi

echo "Installing packages for $DESKTOP_ENVIRONMENT"

# build list of all packages requested for inclusion
INCLUDED_PACKAGES=($(jq -r "[(.all.include | (.all, select(.\"$DESKTOP_ENVIRONMENT\" != null).\"$DESKTOP_ENVIRONMENT\")[]), \
(select(.\"$FEDORA_VERSION\" != null).\"$FEDORA_VERSION\".include | (.all, select(.\"$DESKTOP_ENVIRONMENT\" != null).\"$DESKTOP_ENVIRONMENT\")[])] \
Expand Down

0 comments on commit d58f4df

Please sign in to comment.