Fix cloud build git error (#9012)
* testing the fix Signed-off-by: James Strong <strong.james.e@gmail.com> * revert 1.3.1 while we fix the build Signed-off-by: James Strong <strong.james.e@gmail.com> Signed-off-by: James Strong <strong.james.e@gmail.com>
This commit is contained in:
parent
2fe6660f18
commit
96dc9401d4
2 changed files with 3 additions and 3 deletions
2
TAG
2
TAG
|
@ -1 +1 @@
|
|||
v1.3.1
|
||||
v1.3.0
|
||||
|
|
|
@ -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} \
|
||||
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue