Skip to content

Commit e579b8b

Browse files
committed
fix: update docker image for el8 builds
Updated the Docker image used for building RPMs on CentOS 8 to include a specific version of gcc-toolset-11, ensuring compatibility with newer C++ standards.
1 parent 7be4f77 commit e579b8b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build-whisper.cpp-rpms.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
name: build (el${{ matrix.osversion }})
3232
runs-on: ubuntu-latest
3333
container:
34-
image: docker.io/lkiesow/opencast-rpmbuild:el${{ matrix.osversion }}-oc18
34+
image: docker.io/lkiesow/opencast-rpmbuild:el${{ matrix.osversion }}-oc18-1
3535
steps:
3636
- uses: actions/checkout@v4
3737

@@ -49,6 +49,13 @@ jobs:
4949
spectool -g -R ${{ env.package }}.spec
5050
5151
- name: build rpm
52+
if: osversion == 8
53+
working-directory: rpmbuild/SPECS
54+
run: |
55+
scl enable gcc-toolset-11 'rpmbuild -ba ${{ env.package }}.spec'
56+
57+
- name: build rpm
58+
if: osversion != 8
5259
working-directory: rpmbuild/SPECS
5360
run: |
5461
rpmbuild -ba ${{ env.package }}.spec

0 commit comments

Comments
 (0)