Try workaround for proxy issue.
Some checks failed
Test / Run unit tests (pull_request) Failing after 54s
Test / Run integration tests (pull_request) Failing after 31s

This commit is contained in:
Thomas E Lackey 2023-07-10 13:56:37 -05:00
parent 94ec8c2436
commit e5eb13a27e

View File

@ -10,8 +10,8 @@ ARG GIT_VDBTO_TOKEN
WORKDIR /plugeth-statediff/
COPY go.mod go.sum .
RUN [ -n "$GIT_VDBTO_TOKEN" ] && \
GOPROXY=off git config --global url."https://$GIT_VDBTO_TOKEN@git.vdb.to/".insteadOf "https://git.vdb.to/" ; \
go mod download ; \
git config --global url."https://$GIT_VDBTO_TOKEN@git.vdb.to/".insteadOf "https://git.vdb.to/" ; \
GOPROXY=off go mod download ; \
rm -f ~/.gitconfig
COPY . .