Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build ARM64 ISOs except for gdx #261

Merged
merged 2 commits into from
Feb 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading