-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add ISO build workflow * Use rawhide for major_version of rawhide images * Use F40 installer for rawhide * Fix container label * Fedora 40 installer appears to be broken, so revert to 39 * The container tag doesn't really matter * Use kinoite installer due to missing firstrun * Use Fedora 40 installer * Use F40 container * Fix artifact name
- Loading branch information
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Build Cosmic ISOs | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- '.github/workflows/build_iso.yml' | ||
|
||
env: | ||
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }} | ||
INSTALLER_VERSION: 40 | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-iso: | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
contents: read | ||
packages: write | ||
id-token: write | ||
container: | ||
image: fedora:40 | ||
options: "--privileged" | ||
volumes: | ||
- "/:/host" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
image_name: [cosmic-silverblue, cosmic-base] | ||
image_tag: [40-amd64, rawhide-amd64] | ||
|
||
steps: | ||
- name: Build ISOs | ||
uses: ublue-os/[email protected] | ||
id: build | ||
with: | ||
ARCH: ${{ contains(matrix.image_tag, 'amd64') && 'x86_64' || 'arm64' }} | ||
IMAGE_NAME: ${{ matrix.image_name }} | ||
IMAGE_REPO: ghcr.io/ublue-os | ||
# 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' | ||
|
||
- 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 }} | ||
if-no-files-found: error | ||
retention-days: 0 | ||
compression-level: 0 | ||
overwrite: true |