deblive/.gitea/workflows/build-isos.yaml

24 lines
733 B
YAML
Raw Normal View History

2023-12-09 16:29:32 +00:00
name: Build ISOs
on: [push]
jobs:
build-isos:
runs-on: ubuntu-latest
2023-12-09 16:29:32 +00:00
container:
image: node:16-bullseye
privileged: no
volumes:
- /srv/vapps/gitea-rootless/volumes/test2:/data
2023-12-09 16:29:32 +00:00
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