From 5965caff6a4d23ca265af4a22c6c848101cd5beb Mon Sep 17 00:00:00 2001 From: Sean Parent Date: Tue, 25 Jun 2024 23:44:01 -0700 Subject: [PATCH] Updating ruby version. --- .github/workflows/jekyll.yml | 2 +- .ruby-version | 2 +- tools/docker-tools/README.md | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index e38c14b..2786f9e 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -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 diff --git a/.ruby-version b/.ruby-version index b347b11..619b537 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.3 +3.3.3 diff --git a/tools/docker-tools/README.md b/tools/docker-tools/README.md index 20ff2ba..6d852eb 100644 --- a/tools/docker-tools/README.md +++ b/tools/docker-tools/README.md @@ -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 @@ -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 .