49: Use a Personal Access Token to access private modules. #4
@ -15,9 +15,8 @@ RUN if [ -n "$GITEA_TOKEN" ]; then git config --global url."https://$GITEA_TOKEN
|
||||
go mod download && \
|
||||
rm -f ~/.gitconfig
|
||||
|
||||
ADD . /plugeth-statediff
|
||||
RUN cd /plugeth-statediff && \
|
||||
go build --tags linkgeth --buildmode=plugin --trimpath -o statediff.so ./main
|
||||
ADD . .
|
||||
RUN go build --tags linkgeth --buildmode=plugin --trimpath -o statediff.so ./main
|
||||
|
||||
FROM alpine:3.18
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user