Skip to content

Commit 500dc2b

Browse files
committed
Attempting to fix execution.
1 parent f12b8ba commit 500dc2b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
77
RUN curl -sL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv3.8.7/kustomize_v3.8.7_linux_amd64.tar.gz \
88
| tar xz -C /usr/local/bin
99

10-
RUN git config --global --add safe.directory /github/workspace
11-
1210
RUN rm -rf /var/cache/apk/*
1311

1412
COPY kustdiff /kustdiff

kustdiff

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function build {
2525
}
2626

2727
function main {
28+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
2829
local diff escaped_output output
2930
build "$INPUT_HEAD_REF"
3031
build "$INPUT_BASE_REF"

0 commit comments

Comments
 (0)