Skip to content

Commit

Permalink
Merge pull request vmware-tanzu#7834 from reasonerjt/fix-git-status-i…
Browse files Browse the repository at this point in the history
…ssue

[CP-to-main]: Fix issue in "git status" in goreleaser.sh
  • Loading branch information
ywk253100 authored May 28, 2024
2 parents 94c24bd + d00721c commit 33633d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,6 @@ RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/i
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/$(go env GOARCH)/kubectl
RUN chmod +x ./kubectl
RUN mv ./kubectl /usr/local/bin

# Fix the "dubious ownership" issue from git when running goreleaser.sh
RUN echo "[safe] \n\t directory = *" > /.gitconfig

0 comments on commit 33633d8

Please sign in to comment.