Skip to content

Commit

Permalink
Merge pull request #47 from yahonda/use_bulleseye_for_3_1_and_3_2
Browse files Browse the repository at this point in the history
Use Debian 11 "bullseye" based Ruby Docker image
  • Loading branch information
eileencodes committed Jun 15, 2023
2 parents ad0c839 + be78b6e commit e851a74
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pipeline-generate
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ RUBIES = []
SOFT_FAIL = []

RUBY_MINORS.select { |v| v >= MIN_RUBY }.each do |v|
image = "ruby:#{v}"
if Gem::Version.new(v) >= Gem::Version.new("3.1")
image = "ruby:#{v}-bullseye"
else
image = "ruby:#{v}"
end

if MAX_RUBY && v > MAX_RUBY && !(MAX_RUBY.approximate_recommendation === v)
SOFT_FAIL << image
Expand Down

0 comments on commit e851a74

Please sign in to comment.