From 553c7c5763dea38578347d7280692e26882ebbc9 Mon Sep 17 00:00:00 2001 From: JieXu Date: Thu, 27 Nov 2025 01:14:24 +0800 Subject: [PATCH] Update build-linux.yml to use Red Hat UBI image --- .github/workflows/build-linux.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index a90ecdde..036c8f34 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -97,16 +97,16 @@ jobs: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) runs-on: ubuntu-24.04 container: - image: quay.io/almalinuxorg/10-base:latest - options: --platform=linux/amd64/v2 + image: registry.access.redhat.com/ubi10/ubi env: RELEASE_TAG: ${{ github.event.inputs.release_tag != '' && github.event.inputs.release_tag || github.ref_name }} steps: - name: Prepare tools (Red Hat) run: | + dnf repolist all dnf -y makecache - dnf -y install epel-release + dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm dnf -y install sudo git rpm-build rpmdevtools dnf-plugins-core rsync findutils tar gzip unzip which - name: Checkout repo (for scripts)