Fix CI + enable auto build
This commit is contained in:
parent
db49d39fd7
commit
5721b7720c
|
|
@ -1,6 +1,9 @@
|
||||||
name: Build KabOS Image
|
name: Build KabOS Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -11,10 +14,15 @@ jobs:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build image
|
- name: Show files (debug)
|
||||||
|
run: |
|
||||||
|
echo "Listing repo contents:"
|
||||||
|
ls -la
|
||||||
|
|
||||||
|
- name: Build KabOS Image
|
||||||
run: |
|
run: |
|
||||||
echo "Building KabOS..."
|
echo "Building KabOS..."
|
||||||
docker build -t kabos .
|
docker build -t kabos -f Containerfile.nvidia .
|
||||||
|
|
||||||
- name: Done
|
- name: Done
|
||||||
run: echo "Build complete"
|
run: echo "Build complete"
|
||||||
Loading…
Reference in New Issue