From 4c83f15b05cd9cfed637b7af89b8dff77bb4d757 Mon Sep 17 00:00:00 2001 From: Yuki Matsukura Date: Tue, 12 Oct 2021 13:31:05 +0900 Subject: [PATCH 1/3] Upgarde bundler to avoid lower version error. Error log https://github.com/matsubo/ttsttb/runs/3857183217?check_suite_focus=true + bundle install /usr/local/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.2.16) required by your /github/workspace/Gemfile.lock. (Gem::GemNotFoundException) --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 53feb0d..1a83530 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ ENV LC_ALL C.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US.UTF-8 +RUN gem install bundler + ADD entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] From 3d442f2b306948513efa8e02a11283511212ff84 Mon Sep 17 00:00:00 2001 From: Yuki Matsukura Date: Tue, 12 Oct 2021 13:34:40 +0900 Subject: [PATCH 2/3] confirmed working on ruby v3 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1a83530..b36c3d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.6.6 +FROM ruby:3 LABEL "name"="Publish to Rubygems" LABEL "version"="1.0.0" From 72752b33238add14a3250300f84dd2349f8050ae Mon Sep 17 00:00:00 2001 From: Yuki Matsukura Date: Tue, 12 Oct 2021 13:35:03 +0900 Subject: [PATCH 3/3] suggesting to bump minor version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b36c3d1..acae943 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ruby:3 LABEL "name"="Publish to Rubygems" -LABEL "version"="1.0.0" +LABEL "version"="1.1.0" LABEL "com.github.actions.name"="Publish to Rubygems" LABEL "com.github.actions.icon"="upload"