CI: add Enterprise Linux 10 and Leap 16.0

This commit is contained in:
Syping 2026-03-27 01:49:47 +01:00
parent 24a6bdb0e2
commit b6a5142755
3 changed files with 7 additions and 1 deletions

View file

@ -9,8 +9,12 @@ jobs:
version: el8
- name: Enterprise Linux 9
version: el9
- name: Enterprise Linux 10
version: el10
- name: openSUSE Leap 15.5
version: lp155
- name: openSUSE Leap 16.0
version: lp160
steps:
- name: Cloning
uses: actions/checkout@v6

View file

@ -58,7 +58,7 @@ RUN apk add --no-cache \
COPY --from=build /opt/dtranslatebot/bin/dtranslatebot /opt/dtranslatebot/bin/
COPY --from=build /opt/dtranslatebot/lib/*.so /opt/dtranslatebot/lib/
COPY --from=build /opt/dtranslatebot/lib/*.so.* /opt/dtranslatebot/lib/
RUN adduser --disabled-password dtranslatebot
RUN adduser -D dtranslatebot
USER dtranslatebot
WORKDIR /home/dtranslatebot
COPY --from=build /build/dtranslatebot.json .

View file

@ -26,7 +26,9 @@ Source2: %{name}.service
Source3: %{name}.sysusersd
%if 0%{?fedora} || 0%{?rhel}
%if 0%{?rhel} && 0%{?rhel} < 10
BuildRequires: %{?toolset_prefix}annobin
%endif
BuildRequires: curl-devel
%if 0%{?rhel} && 0%{?rhel} < 9
BuildRequires: epel-rpm-macros-systemd