Skip to content

Commit 69e6755

Browse files
committed
fix unsigned commits and hardcode building with podman, need assistance lol
1 parent 8ee45c9 commit 69e6755

1 file changed

Lines changed: 20 additions & 33 deletions

File tree

.github/workflows/build-iso.yml

Lines changed: 20 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,35 @@
1-
name: Build Ultramarine Nothing Shade ISO
1+
name: Build ISO images with katsu
22
permissions: write-all
3-
43
on:
5-
pull_request:
6-
workflow_dispatch:
74
schedule:
8-
- cron: "0 4 * * *" # daily at 4am UTC
9-
5+
- cron: "0 4 * * *" # every day at 4am UTC
6+
workflow_dispatch:
7+
workflow_run:
8+
workflows: ["Build bootc images"]
9+
types:
10+
- completed
1011
concurrency:
1112
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
1213
cancel-in-progress: true
13-
1414
jobs:
1515
build-iso:
1616
strategy:
1717
fail-fast: false
1818
matrix:
1919
arch: [x86_64, aarch64]
20-
20+
variant:
21+
- name: nothing
22+
image: ghcr.io/ultramarine-linux/nothing-bootc:${{ github.ref_name || 'main' }}
23+
name: Build ISO images with katsu
2124
runs-on: ${{ contains(matrix.arch, 'aarch64') && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
2225

2326
container:
2427
image: ghcr.io/fyralabs/katsu:main
2528
options: --privileged --security-opt seccomp=unconfined -v /usr:/hostusr -v /:/hostfs
2629

2730
steps:
28-
- name: Checkout repository
29-
uses: actions/checkout@v4
30-
31+
- name: Checkout
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3133
- name: Clean up space before build
3234
run: |
3335
df -h
@@ -47,32 +49,17 @@ jobs:
4749
echo "After cleanup:"
4850
df -h
4951
- name: Install dependencies
50-
run: dnf install -y just podman
51-
52-
- name: Build bootc image (Nothing Shade)
5352
run: |
54-
set -x
55-
podman build \
56-
--device=/dev/fuse \
57-
--cap-add=all \
58-
--userns=host \
59-
--cgroupns=host \
60-
--layers=true \
61-
--security-opt=label=disable \
62-
-t ghcr.io/ultramarine-linux/nothing-bootc:main \
63-
-f shades/nothing/containerfile \
64-
.
65-
66-
- name: Build ISO with Katsu
53+
dnf install -y just
54+
- name: Build ISO
6755
run: |
6856
set -x
69-
just image_tag=ghcr.io/ultramarine-linux/nothing-bootc:main katsu-live
70-
mv iso out-${{ matrix.arch }}.iso
71-
72-
- name: Upload ISO artifact
57+
just image_tag=${{ matrix.variant.image }} katsu-live
58+
mv out.iso ./${{ matrix.variant.name }}-${{ matrix.arch }}.iso
59+
- name: Upload artifact
7360
uses: actions/upload-artifact@v7
7461
with:
75-
name: ultramarine-nothing-${{ matrix.arch }}-${{ github.run_id }}
62+
name: iso-artifact-${{ github.run_id }}-${{ matrix.variant.name }}-${{ matrix.arch }}
7663
path: ./*.iso
7764
archive: false
78-
compression-level: 0
65+
compression-level: 0

0 commit comments

Comments
 (0)