The problem is the build action: https://github.com/jerryjvl/jekyll-build-action/tree/master which by the way is only executing the image https://hub.docker.com/layers/jekyll/builder/4/images/sha256-439d7a3d94dd0547f47de5ff03fa910ba93c45dd748bc2b0cde6446d1c322a80?context=explore which is based on Ruby 3.1 that is not suported anymore.
This leads to the error message
Jekyll Feed: Generating feed for posts
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/main.scss':
end of file reached
/usr/gem/gems/sass-embedded-1.80.3/lib/sass/compiler/varint.rb:20:in `readbyte': end of file reached (EOFError)
from /usr/gem/gems/sass-embedded-1.80.3/lib/sass/compiler/varint.rb:20:in `block in read'
from /usr/gem/gems/sass-embedded-1.80.3/lib/sass/compiler/varint.rb:19:in `loop'
from /usr/gem/gems/sass-embedded-1.80.3/lib/sass/compiler/varint.rb:19:in `read'
from /usr/gem/gems/sass-embedded-1.80.3/lib/sass/compiler/connection.rb:38:in `block (2 levels) in listen'
from /usr/gem/gems/sass-embedded-1.80.3/lib/sass/compiler/connection.rb:37:in `loop'
from /usr/gem/gems/sass-embedded-1.80.3/lib/sass/compiler/connection.rb:37:in `block in listen'
To run the build the same way as the github action (and encounter the error message), execute:
docker run -it --rm -v "$PWD":/usr/src/app -w /usr/src/app jekyll/builder:latest jekyll build --trace
We should find another builder image or just use the default ruby image and execute the build similar to:
docker run -it --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:3.2 sh -c "bundle config set --local path 'vendor/bundle' && bundle install && bundle exec jekyll build --trace"
The problem is the build action: https://github.com/jerryjvl/jekyll-build-action/tree/master which by the way is only executing the image https://hub.docker.com/layers/jekyll/builder/4/images/sha256-439d7a3d94dd0547f47de5ff03fa910ba93c45dd748bc2b0cde6446d1c322a80?context=explore which is based on Ruby 3.1 that is not suported anymore.
This leads to the error message
To run the build the same way as the github action (and encounter the error message), execute:
We should find another builder image or just use the default ruby image and execute the build similar to: