Restore earlier (working) form of the git config command.
This commit is contained in:
parent
d921095d80
commit
5a2a8765b7
@ -9,9 +9,8 @@ ARG GIT_VDBTO_TOKEN
|
||||
# Get and cache deps
|
||||
WORKDIR /plugeth-statediff/
|
||||
COPY go.mod go.sum .
|
||||
RUN [ -n "$GIT_VDBTO_TOKEN" ] && \
|
||||
git config --global url."https://$GIT_VDBTO_TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/" ; \
|
||||
GOPROXY=off go mod download ; \
|
||||
RUN if [ -n "$GIT_VDBTO_TOKEN" ]; then git config --global url."https://$GIT_VDBTO_TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"; fi && \
|
||||
go mod download && \
|
||||
rm -f ~/.gitconfig
|
||||
|
||||
COPY . .
|
||||
|
Loading…
Reference in New Issue
Block a user