Skip to content

feat: use new vib finalize plugins to create functional iso #31

feat: use new vib finalize plugins to create functional iso

feat: use new vib finalize plugins to create functional iso #31

Workflow file for this run

name: Vib PR
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: deps
run: sudo apt-get install -y mtools xorriso git libconfuse-dev podman buildah slirp4netns uidmap containers-storage
- name: genimage
run: |
mkdir deps-build
curl -SLO https://github.com/pengutronix/genimage/releases/download/v18/genimage-18.tar.xz
tar -xvf genimage-18.tar.xz -C deps-build/
cd deps-build/genimage-18/
./configure --prefix=/usr
sudo make install
- uses: vanilla-os/vib-gh-action@v0.8.0-1
with:
recipe: 'recipe.yml'
- name: Build the Docker image
run: |
sudo su -c "./vib compile --runtime podman"
sudo chmod 777 genimg/build/vanilla_installer.iso
- name: Upload iso
uses: actions/upload-artifact@v4
with:
Name: iso
Path: genimg/build/vanilla_installer.iso