28 lines
535 B
YAML
28 lines
535 B
YAML
name: Build KabOS Image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- name: Fix repo URL (FINAL)
|
|
run: |
|
|
git config --global url."https://cgi.medsys.cloud/".insteadOf "http://forgejo:3000/"
|
|
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Show files
|
|
run: ls -la
|
|
|
|
- name: Build KabOS
|
|
run: docker build -t kabos -f Containerfile.nvidia .
|
|
|
|
- name: Done
|
|
run: echo "Build complete" |