File tree Expand file tree Collapse file tree 2 files changed +12
-61
lines changed Expand file tree Collapse file tree 2 files changed +12
-61
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,12 @@ name: Build mkosi Image
3
3
on :
4
4
workflow_dispatch :
5
5
push :
6
- branches : [ main ]
6
+ branches :
7
+ - main
8
+ - feat/add-warp-ci # TODO: Remove this once the CI is working
7
9
pull_request :
8
- branches : [ main ]
10
+ branches :
11
+ - main
9
12
10
13
jobs :
11
14
build-mkosi :
30
33
# restore-keys: |
31
34
# ${{ runner.os }}-mkosi-cache-
32
35
36
+ - name : Enable user namespaces for mkosi
37
+ run : |
38
+ echo 'kernel.unprivileged_userns_clone=1' | sudo tee -a /etc/sysctl.conf
39
+ sudo sysctl -p
40
+ cat /proc/sys/kernel/unprivileged_userns_clone
41
+
33
42
- name : Install system dependencies
34
43
run : |
35
44
sudo apt-get update
46
55
- name : Build mkosi image using nix
47
56
run : |
48
57
mkdir -p ~/.cache/mkosi/
49
- ix develop --command mkosi --force -I tdx-dummy.conf
58
+ nix develop --command mkosi --force -I tdx-dummy.conf
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments