File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1717 steps :
1818 - uses : actions/checkout@v2
1919 - name : Run docker build
20- run : docker build -t vulcanize/go-ethereum -f Dockerfile.amd64 .
20+ run : docker build -t vulcanize/go-ethereum -f Dockerfile .
2121 - name : Get the version
2222 id : vars
2323 run : echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
Original file line number Diff line number Diff line change 99 steps :
1010 - uses : actions/checkout@v2
1111 - name : Run docker build
12- run : docker build -t vulcanize/go-ethereum -f Dockerfile.amd64 .
12+ run : docker build -t vulcanize/go-ethereum .
Original file line number Diff line number Diff line change @@ -11,12 +11,19 @@ jobs:
1111 id : vars
1212 run : |
1313 echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
14+ echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})
1415 - name : Docker Login to Github Registry
1516 run : echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u vulcanize --password-stdin
1617 - name : Docker Pull
1718 run : docker pull docker.pkg.github.com/vulcanize/go-ethereum/go-ethereum:${{steps.vars.outputs.sha}}
1819 - name : Copy ethereum binary file
19- run : docker run --rm --entrypoint cat docker.pkg.github.com/vulcanize/go-ethereum/go-ethereum:${{steps.vars.outputs.sha}} /go-ethereum/build/bin/geth > geth-linux-amd64
20+ run : docker run --rm --entrypoint cat docker.pkg.github.com/vulcanize/go-ethereum/go-ethereum:${{steps.vars.outputs.sha}} /usr/local/bin/geth > geth-linux-amd64
21+ - name : Docker Login to Docker Registry
22+ run : echo ${{ secrets.VULCANIZEJENKINS_PAT }} | docker login -u vulcanizejenkins --password-stdin
23+ - name : Tag docker image
24+ run : docker tag docker.pkg.github.com/vulcanize/go-ethereum/go-ethereum:${{steps.vars.outputs.sha}} vulcanize/vdb-geth:${{steps.vars.outputs.tag}}
25+ - name : Docker Push to Docker Hub
26+ run : docker push vulcanize/vdb-geth:${{steps.vars.outputs.tag}}
2027 - name : Get release
2128 id : get_release
2229 uses :
bruceadams/[email protected]
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const (
2424 VersionMajor = 1 // Major version component of the current release
2525 VersionMinor = 10 // Minor version component of the current release
2626 VersionPatch = 2 // Patch version component of the current release
27- VersionMeta = "statediff-0.0.19 " // Version metadata to append to the version string
27+ VersionMeta = "statediff-0.0.20 " // Version metadata to append to the version string
2828)
2929
3030// Version holds the textual version string.
You can’t perform that action at this time.
0 commit comments