Attempt to fix GH Action build by using an older runner

This commit is contained in:
Jarno Rankinen 2024-06-06 00:00:19 +03:00
parent af645f5910
commit b5253d5e90
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ env:
jobs: jobs:
build_push_aurora: build_push_aurora:
name: Build and publish SB image with ZFS name: Build and publish SB image with ZFS
runs-on: ubuntu-latest runs-on: ubuntu-20.04
permissions: permissions:
contents: read contents: read

View File

@ -54,7 +54,7 @@ RUN curl -L -O https://src.fedoraproject.org/rpms/fedora-repos/raw/f${FEDORA_VER
RUN dnf install -y jq dkms gcc make autoconf automake libtool rpm-build libtirpc-devel libblkid-devel \ RUN dnf install -y jq dkms gcc make autoconf automake libtool rpm-build libtirpc-devel libblkid-devel \
libuuid-devel libudev-devel openssl-devel zlib-devel libaio-devel libattr-devel elfutils-libelf-devel \ libuuid-devel libudev-devel openssl-devel zlib-devel libaio-devel libattr-devel elfutils-libelf-devel \
kernel-$(cat /kernel-version.txt) kernel-modules-$(cat /kernel-version.txt) kernel-devel-$(cat /kernel-version.txt) \ kernel-$(cat /kernel-version.txt) kernel-modules-$(cat /kernel-version.txt) kernel-devel-$(cat /kernel-version.txt) \
python3 python3-devel python3-setuptools python3-cffi libffi-devel git ncompress libcurl-devel fuse-overlayfs python3 python3-devel python3-setuptools python3-cffi libffi-devel git ncompress libcurl-devel
WORKDIR / WORKDIR /
# Uses project_id from: https://release-monitoring.org/project/11706/ # Uses project_id from: https://release-monitoring.org/project/11706/
RUN curl "https://release-monitoring.org/api/v2/versions/?project_id=11706" | jq --raw-output '.stable_versions[0]' >> /zfs_version.txt RUN curl "https://release-monitoring.org/api/v2/versions/?project_id=11706" | jq --raw-output '.stable_versions[0]' >> /zfs_version.txt