mirror of
https://github.com/harness/drone.git
synced 2025-05-04 10:10:14 +08:00
Fix docker VCS stamping
added ```RUN git config --global --add safe.directory '/app'```
This commit is contained in:
parent
a8cb5dc8d2
commit
b24b21742a
@ -26,6 +26,8 @@ RUN apk update \
|
||||
# Setup workig dir
|
||||
WORKDIR /app
|
||||
|
||||
RUN git config --global --add safe.directory '/app'
|
||||
|
||||
# Get dependancies - will also be cached if we won't change mod/sum
|
||||
COPY go.mod .
|
||||
COPY go.sum .
|
||||
|
Loading…
Reference in New Issue
Block a user