live-iso-kde/.github/workflows/release-iso.yml

44 lines
1.0 KiB
YAML
Raw Normal View History

2024-08-01 20:18:32 +02:00
name: Release ISO
2024-08-01 01:32:19 +02:00
on:
push:
branches:
- main
paths:
2024-08-01 20:15:53 +02:00
- '.github/release-iso'
2024-08-01 01:32:19 +02:00
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- /proc:/proc
2024-08-01 01:50:42 +02:00
options: --privileged -it --cap-add=sys_admin --cap-add mknod --device=/dev/fuse --security-opt seccomp=unconfined --security-opt label=disable
2024-08-01 01:32:19 +02:00
steps:
2024-08-01 01:33:54 +02:00
- name: Install Some essentials
run: apt-get update -y && apt-get install -y wget npm rsync nodejs
2024-08-01 01:32:19 +02:00
- 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
2024-08-01 01:36:17 +02:00
run: ./get_iso_build_dep.sh
2024-08-01 01:32:19 +02:00
- name: Generate Image ROOTFS from PikaOS Docker image
run: ./generate_roofs_from_docker.sh
2024-08-01 14:23:17 +02:00
- name: Build ISO
run: ./build.sh
2024-08-01 20:15:53 +02:00
- name: Release ISO
run: ./release.sh