Update .forgejo/workflows/fortune-mod-alpine.yml
This commit is contained in:
parent
02c5ea42d3
commit
f89e42f16f
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,7 @@ jobs:
|
|||
- name: Setup Alpine
|
||||
uses: https://git.swee.codes/swee/setup-alpine@main
|
||||
with:
|
||||
additional: qemu-aarch64 qemu-openrc wget
|
||||
additional: qemu-aarch64 qemu-openrc wget openrc
|
||||
- name: Prepare
|
||||
run: mkdir rootfs
|
||||
- name: Get minirootfs of Alpine
|
||||
|
@ -40,6 +40,8 @@ jobs:
|
|||
- name: Unzip
|
||||
run: tar -xzvf alpine-minirootfs-3.21.3-aarch64.tar.gz && rm alpine-minirootfs-3.21.3-aarch64.tar.gz
|
||||
working-directory: ./rootfs
|
||||
- name: Openrc
|
||||
run: rc-update add qemu-binfmt default && rc-service qemu-binfmt start
|
||||
- name: Fix resolv
|
||||
run: echo "nameserver 1.1.1.1" > rootfs/etc/resolv.conf
|
||||
- name: Setup
|
||||
|
|
Loading…
Add table
Reference in a new issue