Publish images with full Ruby version

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2024-05-24 13:18:37 +02:00
parent b16d8a9f74
commit 57fe03c0e4
No known key found for this signature in database
15 changed files with 97 additions and 98 deletions

View file

@ -222,17 +222,17 @@ function print_bazelisk_args() {
function print_ruby_args() {
case "$1" in
3.0|3.0.patched)
3.0.6)
RUBY_VERSION="3.0.6"
RUBY_DOWNLOAD_SHA256="6e6cbd490030d7910c0ff20edefab4294dfcd1046f0f8f47f78b597987ac683e"
;;
3.1|3.1.patched)
3.1.5)
RUBY_VERSION="3.1.5"
RUBY_DOWNLOAD_SHA256="3685c51eeee1352c31ea039706d71976f53d00ab6d77312de6aa1abaf5cda2c5"
;;
3.2|3.2.patched)
3.2.4)
RUBY_VERSION="3.2.4"
RUBY_DOWNLOAD_SHA256="c72b3c5c30482dca18b0f868c9075f3f47d8168eaf626d4e682ce5b59c858692"
;;
@ -297,7 +297,7 @@ function print_kubectl_args() {
declare -A KUBECTL_DOWNLOAD_SHA256
# Use the commands below to download the sha256, and adapt the version number in the commands.
#
#
# curl -L "https://dl.k8s.io/release/v1.29.0/bin/linux/amd64/kubectl.sha256"
# curl -L "https://dl.k8s.io/release/v1.29.0/bin/linux/arm64/kubectl.sha256"
case "$1" in
@ -313,7 +313,7 @@ function print_kubectl_args() {
;;
1.27)
# We need to use at least 1.27.2
#
#
# see https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119916
KUBECTL_VERSION=1.27.2
KUBECTL_DOWNLOAD_SHA256[amd64]=4f38ee903f35b300d3b005a9c6bfb9a46a57f92e89ae602ef9c129b91dc6c5a5

View file

@ -8,7 +8,7 @@ TAG_TOOLS=(BUNDLER RUBYGEMS GIT LFS CHROME YARN GRAPHICSMAGICK EXIFTOOL BAZELISK
# variables.
# For example, consider a CI job which specifies the following variables:
# OS: debian:bullseye
# RUBY: 3.0
# RUBY: 3.0.6
# GOLANG: 1.19
# RUST: 1.73.0
# GIT: 2.33
@ -43,7 +43,7 @@ function get_image_path() {
# Generate the image tag using the components that were specified via variables.
# For example, consider a CI job which specifies the following variables:
# OS: debian:bullseye
# RUBY: 2.7
# RUBY: 3.1.5
# GOLANG: 1.19
# RUST: 1.73.0
# GIT: 2.33