mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fix: buidling steps
Signed-off-by: Isma <71719097+Doozers@users.noreply.github.com>
This commit is contained in:
parent
9a36da57f8
commit
ae0cdec88b
4 changed files with 1 additions and 22 deletions
|
|
@ -4,5 +4,4 @@ build/_workspace
|
|||
build/_bin
|
||||
tests/testdata
|
||||
|
||||
plugins/**/
|
||||
!plugins/build.sh
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ on:
|
|||
- "pgeth"
|
||||
schedule:
|
||||
- cron: "0 * * * *" # every hour
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: write-all
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ ARG BUILDNUM=""
|
|||
# Build Geth in a stock Go builder container
|
||||
FROM golang:1.21-alpine as builder
|
||||
|
||||
ARG PLUGIN_REPOSITORIES=""
|
||||
|
||||
RUN apk add --no-cache gcc musl-dev linux-headers git bash
|
||||
|
||||
# Get dependencies - will also be cached if we won't change go.mod/go.sum
|
||||
|
|
@ -18,12 +16,8 @@ RUN cd /go-ethereum && go mod download
|
|||
ADD . /go-ethereum
|
||||
RUN cd /go-ethereum
|
||||
|
||||
ENV PLUGIN_REPOSITORIES=${PLUGIN_REPOSITORIES}
|
||||
|
||||
RUN env
|
||||
|
||||
RUN cd /go-ethereum && /go-ethereum/pull_plugins.sh
|
||||
|
||||
RUN cd /go-ethereum && /go-ethereum/plugins/build.sh
|
||||
RUN cd /go-ethereum && go run build/ci.go install ./cmd/geth
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
#! /bin/bash
|
||||
|
||||
arrPLUGINS=(${PLUGIN_REPOSITORIES//;/ })
|
||||
|
||||
mkdir -p /tmp/plugins
|
||||
CWD=$(pwd)
|
||||
cd ./plugins
|
||||
|
||||
for i in "${arrPLUGINS[@]}"
|
||||
do
|
||||
echo "cloning $i"
|
||||
git clone "$i"
|
||||
done
|
||||
|
||||
cd $CWD
|
||||
Loading…
Reference in a new issue