build_iso.yaml 980 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: Build PageOS ISO
  2. on:
  3. workflow_dispatch:
  4. inputs:
  5. name:
  6. description: "OS name"
  7. required: false
  8. default: ""
  9. custom-ui-id:
  10. description: "The ID of the UI package to use"
  11. required: false
  12. default: ""
  13. custom-login-html-url:
  14. description: "OS name"
  15. required: false
  16. default: ""
  17. jobs:
  18. build-iso:
  19. runs-on: ubuntu-latest
  20. container:
  21. image: archlinux:latest
  22. options: --privileged
  23. steps:
  24. - name: Checkout repository
  25. uses: actions/checkout@v4
  26. with:
  27. repository: swaybien/pageos
  28. - name: Setup actions environment
  29. run: ./scripts/gh_acions_setup.bash
  30. - name: Rebrand
  31. run: ./scripts/rebrand.bash "${{ github.event.inputs.custom-ui-id }}" "${{ github.event.inputs.custom-login-html-url }}" "${{ github.event.inputs.name }}"
  32. - name: Run build script
  33. run: sudo -u builder ./build.bash --noconfirm