Skip to content

Commit

Permalink
Fix package build for centos 8, remove centos 7. (#727)
Browse files Browse the repository at this point in the history
* Moving off of centos8 because its been removed.

* Removing support for centos 7
  • Loading branch information
i3149 authored Jul 24, 2024
1 parent 85733a6 commit 25a7f88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ jobs:
strategy:
matrix:
include:
- distro: centos
release: 7
pkg: rpm
pkg_name: el
image: centos:7
- distro: ubi
release: 8
pkg: rpm
Expand Down
22 changes: 7 additions & 15 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,10 @@ jobs:
strategy:
matrix:
include:
- distro: centos
release: 7
- distro: ubi8
release: 8.10
pkg: rpm
image: centos
- distro: centos
release: 8
pkg: rpm
image: centos
image: redhat/ubi8
- distro: ubi9
release: 9.2
pkg: rpm
Expand Down Expand Up @@ -116,14 +112,10 @@ jobs:
run: |
if [ "${{ matrix.distro }}" = "centos" ]
then
if [ "${{ matrix.release }}" = "7" ]
then
yum install -y make gcc diffutils libpcap-devel
else
dnf -y --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos
yum install -y make gcc diffutils
dnf -y --enablerepo=powertools install libpcap-devel
fi
yum install -y make gcc diffutils libpcap-devel
elif [ "${{ matrix.distro }}" = "ubi8" ]
then
yum install -y make gcc diffutils libpcap-devel
elif [ "${{ matrix.distro }}" = "ubi9" ]
then
yum install -y make gcc diffutils libpcap-devel
Expand Down

0 comments on commit 25a7f88

Please sign in to comment.