Skip to content

Commit 7a2c4ea

Browse files
committed
WIP
1 parent c2eeb5a commit 7a2c4ea

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,13 @@ jobs:
7474
test-alpine:
7575
name: Test on Alpine
7676
runs-on: ubuntu-latest
77+
container:
78+
image: alpine:latest
7779
steps:
7880
- uses: actions/checkout@v3
7981

8082
# We must run this outside the chroot.
81-
- run: sudo modprobe nbd max_part=16
82-
83-
- name: Set up latest Alpine Linux
84-
uses: jirutka/setup-alpine@v1
83+
#- run: modprobe nbd max_part=16
8584

8685
- name: Build image for x86_64 with BIOS mode and without GPT
8786
run: |
@@ -94,7 +93,6 @@ jobs:
9493
--fs-skel-chown root:root \
9594
--script-chroot \
9695
alpine-bios-$(date +%Y-%m-%d).qcow2 -- ./example/configure.sh
97-
shell: alpine.sh --root {0}
9896
9997
- name: Build image for x86_64 with UEFI mode
10098
run: |
@@ -108,13 +106,6 @@ jobs:
108106
--fs-skel-chown root:root \
109107
--script-chroot \
110108
alpine-uefi-$(date +%Y-%m-%d).qcow2 -- ./example/configure.sh
111-
shell: alpine.sh --root {0}
112-
113-
- name: Install qemu-aarch64 and register in binfmt
114-
uses: jirutka/setup-alpine@v1
115-
with:
116-
arch: aarch64
117-
shell-name: alpine-aarch64.sh
118109
119110
# Note: We cannot run alpine-make-vm-image inside emulated chroot due to nbd.
120111
- name: Build image for aarch64
@@ -129,4 +120,3 @@ jobs:
129120
--fs-skel-chown root:root \
130121
--script-chroot \
131122
alpine-aarch64-$(date +%Y-%m-%d).qcow2 -- ./example/configure.sh
132-
shell: alpine.sh --root {0}

0 commit comments

Comments
 (0)