1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00

Update golang to 1.23

Changes:
- Update go.mod to 1.23
- Update Dockerfiles and CI
This commit is contained in:
Sayan Biswas
2025-05-22 00:58:31 +05:30
committed by Sayan Biswas
parent 50dfa7cba9
commit 26d3bd019f
9 changed files with 10 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ S2I_OUTPUT_BINPATH="${S2I_OUTPUT}/bin"
S2I_OUTPUT_PKGDIR="${S2I_OUTPUT}/pkgdir"
S2I_LOCAL_BINPATH="${S2I_OUTPUT}/go/bin"
S2I_LOCAL_RELEASEPATH="${S2I_OUTPUT}/releases"
S2I_BUILD_TAGS="${S2I_BUILD_TAGS:-}"
RELEASE_LDFLAGS=${RELEASE_LDFLAGS:-""}
@@ -97,6 +98,7 @@ s2i::build::build_binaries() {
CGO_ENABLED=0 go install "${goflags[@]:+${goflags[@]}}" \
-pkgdir "${S2I_OUTPUT_PKGDIR}" \
-ldflags "${version_ldflags} ${RELEASE_LDFLAGS}" \
-tags "${S2I_BUILD_TAGS}" \
-mod vendor \
"${binaries[@]}"
s2i::build::unset_platform_envs "${platform}"