Skip to content

Commit 9102d79

Browse files
committed
go-crane-image: mark workspace safe for git
Signed-off-by: Vincent Demeester <[email protected]>
1 parent 364aa76 commit 9102d79

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

go-crane-image/go-crane-image.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ spec:
6969
workingDir: $(workspaces.source.path)
7070
script: |
7171
#!/usr/bin/env bash
72-
set -eko
72+
set -e
73+
74+
git config --global --add safe.directory $(workspaces.source.path)
75+
7376
go env
7477
go build -o $(params.app) $(params.package)
7578
env:

0 commit comments

Comments
 (0)