Skip to content

feat: use vib-finalize plugins to create working iso #5

feat: use vib-finalize plugins to create working iso

feat: use vib-finalize plugins to create working iso #5

Workflow file for this run

name: Vib Build
on:
push:
branches: [ "main" ]
workflow_dispatch:
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.1
with:
recipe: 'recipe.yml'
- name: Build the Docker image
run: |
sudo chmod 777 plugins/*
sudo ls -al plugins/
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