Skip to content

Commit fb1b196

Browse files
Freeze Rubygems and Bundler version for Ruby 2.6, 2.7 and 3.0
Rubygems 3.5.0 dropped support for Ruby 2.6 and 2.7: https://github.com/rubygems/rubygems/blob/master/CHANGELOG.md#350--2023-12-15 Rubygems 3.6.0 dropped support for Ruby 3.0: https://github.com/rubygems/rubygems/blob/master/CHANGELOG.md#360--2024-12-16
1 parent f3cc65c commit fb1b196

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/docker-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,16 @@ jobs:
140140
build-args: |
141141
BASE_IMAGE_TAG=${{ matrix.ruby }}${{ matrix.variant }}
142142
143+
${{ startsWith(matrix.ruby, '3.0') && 'RUBYGEMS_VERSION_ARG=3.5.23' || '' }}
144+
${{ startsWith(matrix.ruby, '2.7') && 'RUBYGEMS_VERSION_ARG=3.4.22' || '' }}
145+
${{ startsWith(matrix.ruby, '2.6') && 'RUBYGEMS_VERSION_ARG=3.4.22' || '' }}
143146
${{ startsWith(matrix.ruby, '2.5') && 'RUBYGEMS_VERSION_ARG=3.3.26' || '' }}
144147
${{ startsWith(matrix.ruby, '2.4') && 'RUBYGEMS_VERSION_ARG=3.3.26' || '' }}
145148
${{ startsWith(matrix.ruby, '2.3') && 'RUBYGEMS_VERSION_ARG=3.3.26' || '' }}
146149
150+
${{ startsWith(matrix.ruby, '3.0') && 'BUNDLER_VERSION_ARG=2.5.23' || '' }}
151+
${{ startsWith(matrix.ruby, '2.7') && 'BUNDLER_VERSION_ARG=2.4.22' || '' }}
152+
${{ startsWith(matrix.ruby, '2.6') && 'BUNDLER_VERSION_ARG=2.4.22' || '' }}
147153
${{ startsWith(matrix.ruby, '2.5') && 'BUNDLER_VERSION_ARG=2.3.26' || '' }}
148154
${{ startsWith(matrix.ruby, '2.4') && 'BUNDLER_VERSION_ARG=2.3.26' || '' }}
149155
${{ startsWith(matrix.ruby, '2.3') && 'BUNDLER_VERSION_ARG=2.3.26' || '' }}

0 commit comments

Comments
 (0)