Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jirutka committed Sep 11, 2023
1 parent 095d545 commit 33d7e74
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,19 @@ jobs:
- uses: jirutka/setup-alpine@v1
with:
arch: aarch64
shell: alpine-aarch64.sh

- name: Build image for aarch64 on aarch64 host
run: |
./alpine-make-vm-image \
--image-format qcow2 \
--image-size 2G \
--repositories-file example/repositories \
--packages "$(cat example/packages)" \
--fs-skel-dir example/rootfs \
--fs-skel-chown root:root \
alpine-$(date +%Y-%m-%d).qcow2
shell: alpine-aarch64.sh --root {0}

- name: Build image for aarch64 on x86_64 host
run: |
Expand All @@ -78,4 +91,4 @@ jobs:
--fs-skel-dir example/rootfs \
--fs-skel-chown root:root \
--script-chroot \
alpine-$(date +%Y-%m-%d).qcow2 -- ./example/configure.sh
alpine2-$(date +%Y-%m-%d).qcow2 -- ./example/configure.sh

0 comments on commit 33d7e74

Please sign in to comment.