This repository has been archived on 2021-12-28. You can view files and clone it, but cannot push or open issues or pull requests.
mudbugos/.github/workflows/build-image.yml

22 lines
672 B
YAML

# FIXME: currently just builds it, eventually, should use qemu to try to run
# the image (potentially as a separate action)
name: build-prawnos-image
on: [push]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: checkout project
uses: actions/checkout@master
- name: build image
run: docker run --mount type=bind,source=$PWD,target=/PrawnOS
--privileged=true -v/dev:/dev debian:buster
/bin/bash /PrawnOS/tests/build-image.sh "$GITHUB_SHA"
- name: publish image
uses: actions/upload-artifact@v2
with:
name: image
path: "PrawnOS-Shiba-c201-git-*.img"