38 lines
758 B
YAML
38 lines
758 B
YAML
|
name: Push ISO
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
paths:
|
||
|
- '.github/push-iso'
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
container:
|
||
|
image: ubuntu:latest
|
||
|
volumes:
|
||
|
- /proc:/proc
|
||
|
options: --privileged -it
|
||
|
|
||
|
steps:
|
||
|
- 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: Update APT Cache
|
||
|
run: apt-get update -y
|
||
|
|
||
|
- name: Get ISO Build Dependencies
|
||
|
run: ./generate_roofs_from_docker.sh
|
||
|
|
||
|
- name: Generate Image ROOTFS from PikaOS Docker image
|
||
|
run: ./generate_roofs_from_docker.sh
|