Skip to content

Commit

Permalink
Fix cloud build git error (kubernetes#9012)
Browse files Browse the repository at this point in the history
* testing the fix

Signed-off-by: James Strong <[email protected]>

* revert 1.3.1 while we fix the build

Signed-off-by: James Strong <[email protected]>

Signed-off-by: James Strong <[email protected]>
  • Loading branch information
strongjz authored and rchshld committed May 17, 2023
1 parent 7b9bf76 commit bcdbabd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.1
v1.3.0
4 changes: 2 additions & 2 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ echo "Building targets for ${ARCH}, generated targets in ${TARGETS_DIR} director

echo "Building ${PKG}/cmd/nginx"

git config --add safe.directory /go/src/k8s.io/ingress-nginx
git config --global --add safe.directory /go/src/k8s.io/ingress-nginx

${GO_BUILD_CMD} \
-trimpath -ldflags="-buildid= -w -s \
-X ${PKG}/version.RELEASE=${TAG} \
Expand All @@ -74,4 +75,3 @@ ${GO_BUILD_CMD} \
-X ${PKG}/version.COMMIT=${COMMIT_SHA} \
-X ${PKG}/version.REPO=${REPO_INFO}" \
-o "${TARGETS_DIR}/wait-shutdown" "${PKG}/cmd/waitshutdown"

0 comments on commit bcdbabd

Please sign in to comment.