Skip to content

feat: build ISO files #5

feat: build ISO files

feat: build ISO files #5

Workflow file for this run

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: 39
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:${{ env.INSTALLER_VERSION }}

Check failure on line 26 in .github/workflows/build_iso.yml

View workflow run for this annotation

GitHub Actions / Build Cosmic ISOs

Invalid workflow file

The workflow is not valid. .github/workflows/build_iso.yml (Line: 26, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.INSTALLER_VERSION
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/isogenerator@1.0.9
id: build
with:
ARCH: ${{ contains(matrix.image_tag, 'amd64') && 'x86_64' || 'arm64' }}
IMAGE_NAME: ${{ matrix.image_name }}
IMAGE_REPO: ghcr.io/ublue-os
VARIANT: 'Silverblue'
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 }}-${{ matrix.major_version}}
path: ${{ steps.build.outputs.output-directory }}
if-no-files-found: error
retention-days: 0
compression-level: 0
overwrite: true