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 4a278af
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,21 @@ jobs:
# This installs qemu userspace emulator and registers in binfmt.
- uses: jirutka/setup-alpine@v1
with:
arch: aarch64
#arch: aarch64
shell-name: alpine-aarch64.sh

- name: Build image for aarch64 on aarch64 host
run: |
ls -la /dev
./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 +92,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 4a278af

Please sign in to comment.