-
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (31 loc) · 985 Bytes
/
vib-pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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/[email protected]
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