Skip to content

Commit

Permalink
Attempting to fix execution.
Browse files Browse the repository at this point in the history
  • Loading branch information
swade1987 committed Apr 22, 2022
1 parent f12b8ba commit 500dc2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv3.8.7/kustomize_v3.8.7_linux_amd64.tar.gz \
| tar xz -C /usr/local/bin

RUN git config --global --add safe.directory /github/workspace

RUN rm -rf /var/cache/apk/*

COPY kustdiff /kustdiff
Expand Down
1 change: 1 addition & 0 deletions kustdiff
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function build {
}

function main {
git config --global --add safe.directory "$GITHUB_WORKSPACE"
local diff escaped_output output
build "$INPUT_HEAD_REF"
build "$INPUT_BASE_REF"
Expand Down

0 comments on commit 500dc2b

Please sign in to comment.