Skip to content

Commit

Permalink
chore: replace yum with dnf for redhat/ubi8
Browse files Browse the repository at this point in the history
  • Loading branch information
maksadbek committed Dec 3, 2024
1 parent 73dd189 commit 4dee09c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,12 @@ jobs:
- name: Install dev-deps
if: startsWith(matrix.os, 'ubuntu')
run: |
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* \
&& sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* \
&& yum install build-essential python3 -y \
&& yum clean all -y \
&& rm -rf /var/cache/yum
dnf install -y dnf-utils \
&& dnf config-manager --enable ubi-8-appstream \
&& dnf config-manager --enable ubi-8-baseos \
&& dnf install -y python3 gcc gcc-c++ make \
&& dnf clean all \
&& rm -rf /var/cache/dnf
- name: Install deps
uses: ./.github/workflows/composite/npm
Expand Down

0 comments on commit 4dee09c

Please sign in to comment.