live-iso-kde/.github/workflows/build-iso.yml
Ward from fusion-voyager-3 3660629383 no release build
2024-08-01 21:32:02 +03:00

41 lines
967 B
YAML

name: Build ISO
on:
push:
branches:
- main
paths:
- '.github/build-iso'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- /proc:/proc
options: --privileged -it --cap-add=sys_admin --cap-add mknod --device=/dev/fuse --security-opt seccomp=unconfined --security-opt label=disable
steps:
- name: Install Some essentials
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
- uses: actions/checkout@v3
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Get ISO Build Dependencies
run: ./get_iso_build_dep.sh
- name: Generate Image ROOTFS from PikaOS Docker image
run: ./generate_roofs_from_docker.sh
- name: Build ISO
run: ./build.sh