diff --git a/.github/workflows/build-rpm.yml b/.github/workflows/build-rpm.yml index 8df4f33..0d01d3a 100644 --- a/.github/workflows/build-rpm.yml +++ b/.github/workflows/build-rpm.yml @@ -21,6 +21,12 @@ jobs: - name: Get linupdate version run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV + - name: Install CentOS7 archive repositories + run: | + rm -f /etc/yum.repos.d/*.repo + cp ${GITHUB_WORKSPACE}/.github/workflows/packaging/rpm/centos-archive-repos/*.repo /etc/yum.repos.d/ + yum clean all + - name: Install dependencies packages run: yum install rpmdevtools rpmlint -y diff --git a/.github/workflows/packaging/rpm/centos-archive-repos/extras.repo b/.github/workflows/packaging/rpm/centos-archive-repos/extras.repo new file mode 100644 index 0000000..9e4ef89 --- /dev/null +++ b/.github/workflows/packaging/rpm/centos-archive-repos/extras.repo @@ -0,0 +1,7 @@ +[extras] +name=extras repo +comment=extras repo +baseurl=https://vault.centos.org/7.9.2009/extras/ +enabled=1 +gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-7 +gpgcheck=1 \ No newline at end of file diff --git a/.github/workflows/packaging/rpm/centos-archive-repos/os.repo b/.github/workflows/packaging/rpm/centos-archive-repos/os.repo new file mode 100644 index 0000000..9de7cdc --- /dev/null +++ b/.github/workflows/packaging/rpm/centos-archive-repos/os.repo @@ -0,0 +1,7 @@ +[os] +name=os repo +comment=os repo +baseurl=https://vault.centos.org/7.9.2009/os/ +enabled=1 +gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-7 +gpgcheck=1 \ No newline at end of file diff --git a/.github/workflows/packaging/rpm/centos-archive-repos/updates.repo b/.github/workflows/packaging/rpm/centos-archive-repos/updates.repo new file mode 100644 index 0000000..c2b1116 --- /dev/null +++ b/.github/workflows/packaging/rpm/centos-archive-repos/updates.repo @@ -0,0 +1,7 @@ +[updates] +name=updates repo +comment=updates repo +baseurl=https://vault.centos.org/7.9.2009/updates/ +enabled=1 +gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-7 +gpgcheck=1 \ No newline at end of file diff --git a/version b/version index 3c3ae88..14f2967 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.2.13 \ No newline at end of file +2.2.14 \ No newline at end of file