diff --git a/main/kabos-os/.github/workflows/build-image.yml b/main/kabos-os/.github/workflows/build-image.yml index d5e8542..d94ae95 100644 --- a/main/kabos-os/.github/workflows/build-image.yml +++ b/main/kabos-os/.github/workflows/build-image.yml @@ -8,27 +8,32 @@ jobs: runs-on: docker steps: - - name: Clone repo manually - run: | - git clone http://host.docker.internal:3000/mkm1971/kabos-os.git . - ls -la + # ✅ 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 + # ✅ 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 pull localhost/kabos-nvidia:latest - podman run --rm --privileged \ -v /var/lib/containers:/var/lib/containers \ - -v $(pwd):/output \ + -v $PWD:/output \ quay.io/centos-bootc/bootc-image-builder:latest \ --type qcow2 \ localhost/kabos-nvidia:latest + # ✅ STEP 5 — List output - name: List output run: | ls -lah \ No newline at end of file