Skip to content

Commit

Permalink
fix: build ARM64 ISOs except for gdx (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz authored Feb 7, 2025
1 parent 218acb0 commit f8816a9
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [amd64]
flavor: ["","hwe", "gdx"]
platform: [arm64, amd64]
flavor: ["", "hwe"]
include:
- platform: amd64
flavor: "gdx"
permissions:
contents: read
packages: read
Expand All @@ -54,6 +57,14 @@ jobs:
- name: Setup Just
uses: extractions/setup-just@dd310ad5a97d8e7b41793f8ef055398d51ad4de6 # v2

- name: Patch ISO configuration to fit flavor
env:
FLAVOR: ${{ matrix.flavor }}
run: |
if [ "${FLAVOR}" != "" ] ; then
sed -i "s/bluefin\:lts/bluefin-$FLAVOR\:lts" ./image-builder-iso.config.toml
fi
- name: Build ISO
id: build
uses: ublue-os/bootc-image-builder-action@main
Expand All @@ -78,7 +89,7 @@ jobs:
DEFAULT_TAG: ${{ env.DEFAULT_TAG }}
FLAVOR: ${{ matrix.flavor }}
run: |
if [ ${FLAVOR} != "" ] ; then
if [ "${FLAVOR}" != "" ] ; then
IMAGE_NAME="${IMAGE_NAME}-${FLAVOR}"
export IMAGE_NAME
echo "IMAGE_NAME=${IMAGE_NAME}" >> $GITHUB_ENV
Expand Down

0 comments on commit f8816a9

Please sign in to comment.