1234567891011121314151617181920212223242526272829303132 |
- name: CI
- on:
- - pull_request
- - push
- jobs:
- test:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- branch:
- - latest-stable
- - edge
- steps:
- - uses: actions/checkout@v3
- - name: Build rootfs tarball using script from file
- run: |
- sudo ./alpine-make-rootfs \
- --branch ${{ matrix.branch }} \
- --packages 'ruby sqlite' \
- --script-chroot \
- example-$(date +%Y%m%d).tar.gz -- ./example/install.sh
- - name: Build rootfs using script from stdin
- run: |
- cd example
- sudo ../alpine-make-rootfs \
- --branch ${{ matrix.branch }} \
- --packages 'ruby sqlite' \
- --script-chroot \
- rootfs - < install.sh
|