mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Drop Go 1.21 FIPS workaround
This commit is contained in:
parent
8e516affde
commit
9bce751873
3 changed files with 22 additions and 9 deletions
|
|
@ -29,12 +29,7 @@ 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/pull/107 is released.
|
||||
if [[ $GO_MAJOR_VERSION == "1.21" ]]; then
|
||||
GO_BRANCH="go1.20-fips-release"
|
||||
else
|
||||
GO_BRANCH="go${GO_MAJOR_VERSION}-fips-release"
|
||||
fi
|
||||
GO_BRANCH="go${GO_MAJOR_VERSION}-fips-release"
|
||||
|
||||
git clone https://github.com/golang-fips/go.git --branch "${GO_BRANCH}" --single-branch --depth 1 /tmp/golang-fips
|
||||
cd /tmp/golang-fips
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue