Skip to content

Commit

Permalink
Updating ruby version.
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-parent committed Jun 26, 2024
1 parent def871b commit 5965caf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
uses: ruby/setup-ruby@v1
with:
# ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.3
3.3.3
5 changes: 4 additions & 1 deletion tools/docker-tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ VOLUME="sean-parent.github.io"

# Specify the ruby version to match the latest stable - https://www.ruby-lang.org/en/downloads/
# May have to downgrade to match the version available with latest ubuntu in github actions.
# See https://github.com/actions/runner-images and https://github.com/ruby/setup-ruby

RUBY_VERSION="3.2.3"
RUBY_VERSION="3.3.3"
echo $RUBY_VERSION > ./.ruby-version

# build the base image, no-cache is used so the latest tools are installed
Expand All @@ -38,7 +39,9 @@ cd /mnt/host
git config --global --add safe.directory /mnt/host
./tools/docs/update.sh --lock
exit
```

```zsh
# build the final image
docker build --build-arg RUBY_VERSION=$RUBY_VERSION \
--file ./tools/docker-tools/Dockerfile --target full --tag $VOLUME .
Expand Down

0 comments on commit 5965caf

Please sign in to comment.