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