Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Golang 1.19 for builds #90

Closed
wants to merge 1 commit into from

Commits on Nov 27, 2023

  1. Install Golang 1.19 for builds

    Starting with Go 1.21, the runtime system needs to have a version of glibc "compatible" with the version available at build time. The ubi8 image comes with a very old version of glibc compared to the golang builder. so, the Antrea Operator binaries will fail to run and hit GLIBC issue.
    
    To fix this issue, we need to install Golang manually in ubi8 image when making docker build. Moreover, we use Golang 1.19 for Github workflow build action. To align this workflow, we install Golang 1.19 for Github workflow build tag action and Docker image build.
    
    Also upgrade GitHub actions to latest versions due to node deprecation
    warning.
    
    Signed-off-by: Kobi Samoray <ksamoray@vmware.com>
    ksamoray committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    27fd4a1 View commit details
    Browse the repository at this point in the history