Checking out 7604918a as detached HEAD (ref is build)... git-lfs/3.3.0 (GitHub; windows amd64; go 1.19.3; git 77deabdf) Skipping Git submodules setup Executing "step_script" stage of the job script $ go build -race -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/mybinary go: -race requires cgo; enable cgo by setting CGO_ENABLED=1 Cleaning up project directory and file based variables ERROR: Job failed: exit status 2