39 lines
930 B
YAML
39 lines
930 B
YAML
name: Build Installer ISO
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
#push:
|
|
#branches:
|
|
# - main
|
|
|
|
jobs:
|
|
build-iso:
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Pull bootc-image-builder container
|
|
run: |
|
|
docker pull quay.io/centos-bootc/bootc-image-builder:latest
|
|
|
|
- name: Build ISO
|
|
run: |
|
|
docker run --rm --privileged \
|
|
-v "${{ github.workspace }}:/workspace" \
|
|
-v "${{ github.workspace }}/output:/output" \
|
|
-v "/var/lib/containers/storage:/var/lib/containers/storage" \
|
|
quay.io/centos-bootc/bootc-image-builder:latest \
|
|
/workspace/iso/config.toml
|
|
|
|
- name: Upload ISO artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: installer-iso
|
|
path: output/*.iso
|