Skip to content

Build ISOs

Build ISOs #5

Workflow file for this run

name: Build ISOs
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- '.github/workflows/build-iso.yml'
env:
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
build-iso:
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
id-token: write
container:
image: fedora:${{ matrix.major_version }}
options: "--privileged"
volumes:
- "/:/host"
strategy:
fail-fast: false
matrix:
image:
- name: uhypr
variant: Sway
- name: ucosmic
variant: Cosmic
major_version: [40]
image_tag: [latest]
steps:
- name: Build ISOs
uses: jasonn3/build-container-installer@main
id: build
with:
arch: X86_64
image_name: ${{ matrix.image.name }}
image_repo: ${{ env.IMAGE_REGISTRY }}
image_tag: ${{ matrix.image_tag }}
version: ${{ matrix.major_version }}
variant: ${{ matrix.image.variant }}
iso_name: ${{ matrix.image.name }}-${{ matrix.image_tag }}-${{ matrix.major_version }}.iso
- name: Upload ISO as artifact
id: upload
uses: actions/upload-artifact@v4
with:
name: ${{ steps.build.outputs.iso_name }}
path: |
${{ steps.build.outputs.iso_path }}
${{ steps.build.outputs.iso_path }}-CHECKSUM
if-no-files-found: error
retention-days: 0
compression-level: 0