mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 13:55:20 +00:00
Merge pull request #7834 from reasonerjt/fix-git-status-issue
[CP-to-main]: Fix issue in "git status" in goreleaser.sh
This commit is contained in:
@@ -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 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 chmod +x ./kubectl
|
||||||
RUN mv ./kubectl /usr/local/bin
|
RUN mv ./kubectl /usr/local/bin
|
||||||
|
|
||||||
|
# Fix the "dubious ownership" issue from git when running goreleaser.sh
|
||||||
|
RUN echo "[safe] \n\t directory = *" > /.gitconfig
|
||||||
Reference in New Issue
Block a user