Add comment about Golang and FIPS

This commit is contained in:
Ash McKenzie 2024-02-27 01:09:14 +00:00 committed by Stan Hu
parent 723d941d6d
commit 560bc708c5
2 changed files with 11 additions and 0 deletions

View file

@ -38,6 +38,8 @@ function print_image_args() {
function print_golang_args() {
declare -A GOLANG_DOWNLOAD_SHA256
# NOTE: See https://gitlab.com/gitlab-org/gitlab-build-images#note-regarding-golang-and-fips
# when adding a new major/minor Golang version.
case "$1" in
1.20)
INSTALL_GOLANG_VERSION=1.20.13 # Update scripts/install-golang for FIPS if this version is bumped