build images update
This commit is contained in:
parent
c6fb295235
commit
bb78483812
|
|
@ -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
|
||||
Loading…
Reference in New Issue