File tree 2 files changed +8
-17
lines changed
2 files changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -111,24 +111,12 @@ jobs:
111
111
name : Publish RPMs
112
112
runs-on : ubuntu-latest
113
113
container :
114
- image : rockylinux/rockylinux:9
114
+ image : fedora:latest
115
115
options : --privileged
116
- strategy :
117
- fail-fast : false
118
- matrix :
119
- include :
120
- - target : rocky+epel-8-x86_64
121
- arch : x86_64
122
- dist : el8
123
- - target : rocky+epel-9-x86_64
124
- arch : x86_64
125
- dist : el9
126
116
steps :
127
117
- name : Prepare mock and rpm-build
128
118
run : |
129
- dnf -y install epel-release
130
- dnf -y install git make mock rpm-build
131
- echo "config_opts['print_main_output'] = True" >>/etc/mock/site-defaults.cfg
119
+ dnf -y install asciidoc git golang make rpm-build
132
120
133
121
- name : Checkout code
134
122
uses : actions/checkout@v4
@@ -141,13 +129,16 @@ jobs:
141
129
make source-archive
142
130
143
131
- name : Build RPMs
144
- run : mock -r ${{ matrix.target }} --rebuild --spec=misc/sshproxy.spec --sources=.
132
+ run : |
133
+ mkdir -p ~/rpmbuild/SOURCES
134
+ mv sshproxy-*.tar.gz ~/rpmbuild/SOURCES/
135
+ rpmbuild -ba misc/sshproxy.spec
145
136
146
137
- name : Attach RPM and SRPM to release
147
138
uses : xresloader/upload-to-github-release@v1
148
139
env :
149
140
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
150
141
with :
151
- file : " /var/lib/mock/${{ matrix.target }}/result/sshproxy- *.rpm"
142
+ file : " /github/home/rpmbuild/RPMS/x86_64/*.rpm;/github/home/rpmbuild/SRPMS/ *.rpm"
152
143
tags : true
153
144
draft : true
Original file line number Diff line number Diff line change 1
- FROM fedora:41
1
+ FROM fedora:latest
2
2
3
3
# Install development environment to compile RPM
4
4
RUN set -ex \
You can’t perform that action at this time.
0 commit comments