mirror of
https://github.com/Syping/dtranslatebot.git
synced 2026-04-01 05:20:22 +02:00
CI: add Enterprise Linux 10 and Leap 16.0
This commit is contained in:
parent
24a6bdb0e2
commit
b6a5142755
3 changed files with 7 additions and 1 deletions
4
.github/workflows/linux-rpm.yml
vendored
4
.github/workflows/linux-rpm.yml
vendored
|
|
@ -9,8 +9,12 @@ jobs:
|
||||||
version: el8
|
version: el8
|
||||||
- name: Enterprise Linux 9
|
- name: Enterprise Linux 9
|
||||||
version: el9
|
version: el9
|
||||||
|
- name: Enterprise Linux 10
|
||||||
|
version: el10
|
||||||
- name: openSUSE Leap 15.5
|
- name: openSUSE Leap 15.5
|
||||||
version: lp155
|
version: lp155
|
||||||
|
- name: openSUSE Leap 16.0
|
||||||
|
version: lp160
|
||||||
steps:
|
steps:
|
||||||
- name: Cloning
|
- name: Cloning
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ RUN apk add --no-cache \
|
||||||
COPY --from=build /opt/dtranslatebot/bin/dtranslatebot /opt/dtranslatebot/bin/
|
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/
|
||||||
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
|
USER dtranslatebot
|
||||||
WORKDIR /home/dtranslatebot
|
WORKDIR /home/dtranslatebot
|
||||||
COPY --from=build /build/dtranslatebot.json .
|
COPY --from=build /build/dtranslatebot.json .
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,9 @@ Source2: %{name}.service
|
||||||
Source3: %{name}.sysusersd
|
Source3: %{name}.sysusersd
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} < 10
|
||||||
BuildRequires: %{?toolset_prefix}annobin
|
BuildRequires: %{?toolset_prefix}annobin
|
||||||
|
%endif
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
%if 0%{?rhel} && 0%{?rhel} < 9
|
%if 0%{?rhel} && 0%{?rhel} < 9
|
||||||
BuildRequires: epel-rpm-macros-systemd
|
BuildRequires: epel-rpm-macros-systemd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue