From 70b02fc205dda1d4ab8f2d6e801f749905c8e75c Mon Sep 17 00:00:00 2001 From: mkm1971 Date: Mon, 27 Apr 2026 20:30:24 +0000 Subject: [PATCH] build file --- main/kabos-os/.github/workflows/build-image.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/main/kabos-os/.github/workflows/build-image.yml b/main/kabos-os/.github/workflows/build-image.yml index 3324331..87ae6a3 100644 --- a/main/kabos-os/.github/workflows/build-image.yml +++ b/main/kabos-os/.github/workflows/build-image.yml @@ -1,6 +1,9 @@ name: Build KabOS Image on: + push: + branches: + - main workflow_dispatch: jobs: @@ -8,22 +11,18 @@ jobs: runs-on: ubuntu-latest steps: - # ✅ STEP 1 — Correct repo checkout - name: Checkout repo uses: actions/checkout@v4 - # ✅ STEP 2 — Install tools - name: Install tools run: | - apt update - apt install -y podman git + sudo apt update + sudo apt install -y podman git - # ✅ STEP 3 — Build your custom image (IMPORTANT) - name: Build KabOS NVIDIA image run: | podman build -t kabos-nvidia -f Containerfile.nvidia . - # ✅ STEP 4 — Build bootable image - name: Build bootable image run: | podman run --rm --privileged \ @@ -31,9 +30,8 @@ jobs: -v $PWD:/output \ quay.io/centos-bootc/bootc-image-builder:latest \ --type qcow2 \ - localhost/kabos-nvidia:latest + kabos-nvidia:latest - # ✅ STEP 5 — List output - name: List output run: | ls -lah \ No newline at end of file