File tree Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -140,3 +140,18 @@ jobs:
140
140
hub_user : ${{ secrets.REGISTRY_RELEASE_USERNAME }}
141
141
hub_password : ${{ secrets.REGISTRY_RELEASE_PASSWORD }}
142
142
platforms : linux/amd64,linux/arm64
143
+
144
+ el10_go :
145
+ runs-on : ubuntu-latest
146
+ steps :
147
+ - name : Checkout code
148
+ uses : actions/checkout@v4
149
+
150
+ - uses : ./.github/actions/build-packager
151
+ with :
152
+ file : Dockerfile.el10-go
153
+ go : ${{ env.GO_VERSION }}
154
+ tag : el10-go${{ env.TAG }}
155
+ hub_user : ${{ secrets.REGISTRY_RELEASE_USERNAME }}
156
+ hub_password : ${{ secrets.REGISTRY_RELEASE_PASSWORD }}
157
+ platforms : linux/amd64,linux/arm64
Original file line number Diff line number Diff line change
1
+ FROM almalinux:10
2
+
3
+ ARG GOVERSION="1.24.6"
4
+ RUN echo -n el10_64 > /etc/packager.txt
5
+
6
+ RUN yum install -y rpm-build ruby wget gcc git softhsm && \
7
+ yum clean all
8
+
9
+ RUN wget -q https://dl.google.com/go/go${GOVERSION}.linux-amd64.tar.gz && \
10
+ tar -C /usr/local -xzf go${GOVERSION}.linux-amd64.tar.gz && \
11
+ rm -f go${GOVERSION}.linux-amd64.tar.gz
12
+
13
+ WORKDIR /build/source
14
+
15
+ VOLUME /go
16
+ VOLUME /build/artifacts
17
+
18
+ ENV RUBYLIB /packager/lib
19
+ ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin
20
+ ENV GOPATH /go
21
+ ENV GO111MODULE on
22
+
23
+ COPY lib /packager/lib/
24
+ COPY bin /packager/bin/
25
+ COPY install-choria.sh /bin
26
+
27
+ CMD /packager/bin/packager.rb
Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ case "${FLAVOUR?}" in
18
18
19
19
;;
20
20
21
+ el10_64)
22
+ rpm -ivh https://s3.osuosl.org/openvox-yum/openvox8-release-el-10.noarch.rpm
23
+ METHOD=" yum"
24
+
25
+ ;;
26
+
21
27
bullseye_64)
22
28
wget -O /tmp/puppet.deb https://s3.osuosl.org/openvox-apt/openvox8-release-debian11.deb
23
29
You can’t perform that action at this time.
0 commit comments