Skip to content

Commit 991e957

Browse files
authored
Merge pull request #831 from Jakuje/c9s
Add CentOS 9 Stream to CI too
2 parents e0314e3 + bc87a39 commit 991e957

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,8 @@ jobs:
954954
registry: registry.access.redhat.com
955955
- tag: ubi9/ubi:9.7
956956
registry: registry.access.redhat.com
957+
- tag: centos/centos:stream9
958+
registry: quay.io
957959
- tag: centos/centos:stream10
958960
registry: quay.io
959961

@@ -991,10 +993,20 @@ jobs:
991993
dist_tag=$(rpm --eval '%{?dist}')
992994
echo "dist-tag=${dist_tag}" >> "${GITHUB_OUTPUT}"
993995
994-
- name: Install epel and enable CRB repository for centos
996+
- name: Enable CRB repository for centos
995997
if: contains(matrix.target-container.tag, 'centos')
996998
run: >-
997-
dnf config-manager --set-enabled crb &&
999+
dnf config-manager --set-enabled crb
1000+
1001+
- name: Install epel for centos 9
1002+
if: contains(matrix.target-container.tag, 'centos:stream9')
1003+
run: >-
1004+
dnf install -y
1005+
https://dl.fedoraproject.org/pub/epel/epel{,-next}-release-latest-9.noarch.rpm
1006+
1007+
- name: Install epel for centos 10
1008+
if: contains(matrix.target-container.tag, 'centos:stream10')
1009+
run: >-
9981010
dnf install -y
9991011
https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm
10001012
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added Centos 9 Stream image to the CI/CD pipeline -- by :user:`Jakuje`.

0 commit comments

Comments
 (0)