diff --git a/scripts/install-golang b/scripts/install-golang index 2131bfa..a00dbd9 100755 --- a/scripts/install-golang +++ b/scripts/install-golang @@ -29,12 +29,9 @@ function build_ubi() { cd /usr/local/go/src PATH=$PATH:/tmp/golang/go/bin CGO_ENABLED=1 ./make.bash else - # This is a workaround until https://github.com/golang-fips/go/issues/82 is resolved. - if [[ $GO_MAJOR_VERSION == "1.20" ]]; then - GO_BRANCH="go1.20.6-1-openssl-fips" # This is a workaround until https://github.com/golang-fips/go/pull/107 is released. - elif [[ $GO_MAJOR_VERSION == "1.21" ]]; then - GO_BRANCH="go1.20.6-1-openssl-fips" + if [[ $GO_MAJOR_VERSION == "1.21" ]]; then + GO_BRANCH="go1.20-fips-release" else GO_BRANCH="go${GO_MAJOR_VERSION}-fips-release" fi