unsplash / comment-on-pr

A GitHub Action to comment on the relevant open PR when a commit is pushed.
MIT License
150 stars 84 forks source link

Update Dockerfile #57

Open jsavikko opened 2 years ago

jsavikko commented 2 years ago

When using the Github action, the build of Dockerfile fails with following error:

ERROR: Error installing octokit: The last version of octokit (>= 0) to support your Ruby & RubyGems was 4.25.1. Try installing it with gem install octokit -v 4.25.1 octokit requires Ruby version >= 2.7.0. The current ruby version is 2.6.0.0.

The following commit fixes the build failure by defining octokit version (as also pumps up the version of ruby parent image) .