Skip to content

Commit

Permalink
Merge pull request #177 from gyazo/fix-release-actions
Browse files Browse the repository at this point in the history
Fix release actions
  • Loading branch information
pastak authored Dec 5, 2024
2 parents 907a7e1 + 8c79a9c commit 120789b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build and Release

on:
workflow_dispatch:
push:
branches:
- release
Expand All @@ -15,9 +16,9 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.5'
ruby-version: '3.3'
- name: Install package-cloud
run: gem install package_cloud
- name: Install devscripts
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM centos:7
ENV ruby_ver="2.5.7"
ENV ruby_ver="3.3.6"

RUN yum -y update
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
yum -y update
RUN yum -y install epel-release
RUN yum -y install git make autoconf curl wget rpm-build
RUN yum -y install gcc-c++ glibc-headers openssl-devel readline libyaml-devel readline-devel zlib zlib-devel sqlite-devel bzip2
Expand Down

0 comments on commit 120789b

Please sign in to comment.