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

chore: switch to new ISO builder action #21

Merged
merged 5 commits into from
Mar 29, 2024
Merged
Changes from 4 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
29 changes: 14 additions & 15 deletions .github/workflows/build_iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jobs:
contents: read
packages: write
id-token: write
container:
image: fedora:40
options: "--privileged"
volumes:
- "/:/host"
strategy:
fail-fast: false
matrix:
Expand All @@ -35,24 +30,28 @@ jobs:

steps:
- name: Build ISOs
uses: ublue-os/[email protected]
uses: jasonn3/build-container-installer@main
p5 marked this conversation as resolved.
Show resolved Hide resolved
id: build
with:
ARCH: ${{ contains(matrix.image_tag, 'amd64') && 'x86_64' || 'arm64' }}
IMAGE_NAME: ${{ matrix.image_name }}
IMAGE_REPO: ghcr.io/ublue-os
arch: ${{ contains(matrix.image_tag, 'amd64') && 'x86_64' || 'arm64' }}
noelmiller marked this conversation as resolved.
Show resolved Hide resolved
image_name: ${{ matrix.image_name }}
image_repo: ghcr.io/ublue-os
enable_flatpak_dependencies: false
# We cannot use Silverblue variant since we need the user creation options in anaconda
VARIANT: 'Kinoite'
VERSION: ${{ env.INSTALLER_VERSION }}
IMAGE_TAG: ${{ matrix.image_tag }}
SECURE_BOOT_KEY_URL: 'https://github.com/ublue-os/akmods/raw/main/certs/public_key.der'
ENROLLMENT_PASSWORD: 'ublue-os'
variant: 'Kinoite'
version: ${{ env.INSTALLER_VERSION }}
image_tag: ${{ matrix.image_tag }}
secure_boot_key_url: 'https://github.com/ublue-os/akmods/raw/main/certs/public_key.der'
enrollment_password: 'ublue-os'
iso_name: ${{ matrix.image_name }}-${{ steps.generate-tag.outputs.tag }}

- name: Upload ISOs and Checksum to Job Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.image_name }}-${{ matrix.image_tag }}
path: ${{ steps.build.outputs.output-directory }}
path: |
${{ steps.build.outputs.iso_path }}
${{ steps.build.outputs.iso_path }}-CHECKSUM
if-no-files-found: error
retention-days: 0
compression-level: 0
Expand Down
Loading