fix dockerfile
Some checks failed
Test / Run unit tests (pull_request) Failing after 2m13s
Test / Run integration tests (pull_request) Failing after 12m19s

This commit is contained in:
Roy Crihfield 2023-07-11 10:31:57 +08:00
parent 41de4a6aec
commit 52efd4b56b

View File

@ -8,7 +8,7 @@ ARG GIT_VDBTO_TOKEN
# Get and cache deps
WORKDIR /plugeth-statediff/
COPY go.mod go.sum .
COPY go.mod go.sum ./
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