Take certain steps regardless.
This commit is contained in:
parent
d201eb7f5a
commit
2af53524bf
@ -10,8 +10,8 @@ ARG GIT_VDBTO_TOKEN
|
|||||||
WORKDIR /plugeth-statediff/
|
WORKDIR /plugeth-statediff/
|
||||||
COPY go.mod go.sum .
|
COPY go.mod go.sum .
|
||||||
RUN [ -n "$GIT_VDBTO_TOKEN" ] && \
|
RUN [ -n "$GIT_VDBTO_TOKEN" ] && \
|
||||||
git config --global url."https://$GIT_VDBTO_TOKEN@git.vdb.to/".insteadOf "https://git.vdb.to/" && \
|
git config --global url."https://$GIT_VDBTO_TOKEN@git.vdb.to/".insteadOf "https://git.vdb.to/" ; \
|
||||||
go mod download && \
|
go mod download ; \
|
||||||
rm -f ~/.gitconfig
|
rm -f ~/.gitconfig
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
Loading…
Reference in New Issue
Block a user