24 lines
733 B
YAML
24 lines
733 B
YAML
name: Build ISOs
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-isos:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: node:16-bullseye
|
|
privileged: no
|
|
volumes:
|
|
- /srv/vapps/gitea-rootless/volumes/test2:/data
|
|
steps:
|
|
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
|
- run: cd /data
|
|
- run: ls -al /proc
|
|
- run: mkdir proc2; mkdir test2
|
|
- run: mount -t proc proc proc2
|
|
- run: apt-get update; apt-get install -y live-build; lb config
|
|
- run: sleep 6h;
|
|
- run: debootstrap bullseye /test2 http://deb.debian.org/debian
|
|
- run: lb build || true; ls -al *;
|
|
- run: cat /workspace/plantroon/deblive/chroot/debootstrap/debootstrap.log
|