Skip to content

Commit

Permalink
CI: Test with script from STDIN
Browse files Browse the repository at this point in the history
  • Loading branch information
jirutka committed Aug 20, 2023
1 parent b98e82a commit af036d4
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Build rootfs tarball
- name: Build rootfs tarball using script from file
run: |
sudo ./alpine-make-rootfs \
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

0 comments on commit af036d4

Please sign in to comment.