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 && \
|
go mod download && \
|
||||||
rm -f ~/.gitconfig
|
rm -f ~/.gitconfig
|
||||||
|
|
||||||
ADD . /plugeth-statediff
|
ADD . .
|
||||||
RUN cd /plugeth-statediff && \
|
RUN go build --tags linkgeth --buildmode=plugin --trimpath -o statediff.so ./main
|
||||||
go build --tags linkgeth --buildmode=plugin --trimpath -o statediff.so ./main
|
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user