Update build-installer-iso.yml
This commit is contained in:
@@ -1,28 +1,23 @@
|
||||
name: Build ISO
|
||||
name: Build Installer ISO
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
#push:
|
||||
#branches:
|
||||
# - main
|
||||
|
||||
jobs:
|
||||
build-iso:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
contents: read
|
||||
packages: read
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y qemu-utils xz-utils
|
||||
|
||||
- name: Pull bootc-image-builder container
|
||||
run: |
|
||||
docker pull quay.io/centos-bootc/bootc-image-builder:latest
|
||||
@@ -34,14 +29,10 @@ jobs:
|
||||
-v "${{ github.workspace }}/output:/output" \
|
||||
-v "/var/lib/containers/storage:/var/lib/containers/storage" \
|
||||
quay.io/centos-bootc/bootc-image-builder:latest \
|
||||
-- \
|
||||
/workspace \
|
||||
--config /workspace/iso/config.toml
|
||||
|
||||
|
||||
/workspace/iso/config.toml
|
||||
|
||||
- name: Upload ISO artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: fluffy-pancake-installer.iso
|
||||
name: installer-iso
|
||||
path: output/*.iso
|
||||
|
||||
Reference in New Issue
Block a user