Pin ruby-2.7.2 image, add ruby-2.7

The ruby-2.7 tags will always contain the latest
patch released for that minor version.

This allows us to ship patches more easily but
retains backwards compatibility with existing
repos asking for 2.7.2.
This commit is contained in:
Matthias Kaeppler 2021-08-17 10:05:30 +02:00
parent 35c225221c
commit 19cbe92aa9
4 changed files with 312 additions and 2 deletions

View file

@ -205,12 +205,19 @@ function print_ruby_args() {
RUBY_DOWNLOAD_SHA256="364b143def360bac1b74eb56ed60b1a0dca6439b00157ae11ff77d5cd2e92291"
;;
2.7|2.7.*)
2.7|2.7.patched)
RUBY_VERSION="2.7.4"
RUBY_DOWNLOAD_SHA256="3043099089608859fc8cce7f9fdccaa1f53a462457e3838ec3b25a7d609fbc5b"
;;
# Please update any clients still asking for these images to request `ruby-2.7` instead,
# which will provide the latest available patch level (see above.)
2.7.*)
RUBY_VERSION="2.7.2"
RUBY_DOWNLOAD_SHA256="6e5706d0d4ee4e1e2f883db9d768586b4d06567debea353c796ec45e8321c3d4"
;;
3.0|3.0.*)
3.0|3.0.patched)
RUBY_VERSION="3.0.2"
RUBY_DOWNLOAD_SHA256="5085dee0ad9f06996a8acec7ebea4a8735e6fac22f22e2d98c3f2bc3bef7e6f1"
;;