Minimize changes.
This commit is contained in:
parent
539f2a5586
commit
eae5689af2
@ -8,10 +8,10 @@ ARG GITEA_TOKEN
|
||||
ENV GITEA_TOKEN=$GITEA_TOKEN
|
||||
|
||||
# Get and cache deps
|
||||
COPY go.mod /plugeth-statediff/
|
||||
COPY go.sum /plugeth-statediff/
|
||||
WORKDIR /plugeth-statediff/
|
||||
COPY go.mod .
|
||||
COPY go.sum .
|
||||
RUN if [ -n "$GITEA_TOKEN" ]; then git config --global url."https://$GITEA_TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"; fi && \
|
||||
cd /plugeth-statediff && \
|
||||
go mod download && \
|
||||
rm -f ~/.gitconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user