mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Built FIPS Go 1.20 from branch
This commit is contained in:
parent
0231fd714e
commit
8358164a33
1 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue