Skip to content

Commit a1e407c

Browse files
committed
change ruby version
1 parent d7615e1 commit a1e407c

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/publish-gem.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup Ruby
1414
uses: ruby/setup-ruby@v1
1515
with:
16-
ruby-version: '2.7.8'
16+
ruby-version: "3.2"
1717
- name: Build gem
1818
run: |
1919
gem build github-pages.gemspec

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.8
1+
3.2

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG RUBY_VERSION=2.7.8
1+
ARG RUBY_VERSION=3.2
22
FROM ruby:$RUBY_VERSION
33

44
RUN apt-get update \
@@ -9,7 +9,7 @@ RUN apt-get update \
99
nodejs
1010

1111
# final version for rubygems-update to supoprt ruby 2.7, consider removing this after upgraded to ruby 3.0
12-
RUN gem update --system 3.4.22
12+
RUN gem update --system
1313

1414
COPY .git /src/gh/pages-gem/.git
1515
COPY Gemfile* /src/gh/pages-gem/

Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.7.8-alpine
1+
FROM ruby:3.2-alpine
22

33
RUN apk update && apk add --no-cache \
44
git

script/cibuild-docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -ex
44

55
# Set the ruby version in the Action definition matrix.
6-
: "${RUBY_VERSION:="2.7.8"}"
6+
: "${RUBY_VERSION:="3.2"}"
77

88
docker build --build-arg "RUBY_VERSION=$RUBY_VERSION" -t github-pages .
99
docker run --rm --workdir /src/gh/pages-gem github-pages script/cibuild

0 commit comments

Comments
 (0)