File tree Expand file tree Collapse file tree 2 files changed +17
-50
lines changed Expand file tree Collapse file tree 2 files changed +17
-50
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33 release :
44 types : [published]
55jobs :
6+ build :
7+ name : Run docker build and publish
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - name : Run docker build
12+ run : docker build -t vulcanize/go-ethereum -f Dockerfile .
13+ - name : Get the version
14+ id : vars
15+ run : echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
16+ - name : Tag docker image
17+ run : docker tag vulcanize/go-ethereum docker.pkg.github.com/vulcanize/go-ethereum/go-ethereum:${{steps.vars.outputs.sha}}
18+ - name : Docker Login
19+ run : echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u vulcanize --password-stdin
20+ - name : Docker Push
21+ run : docker push docker.pkg.github.com/vulcanize/go-ethereum/go-ethereum:${{steps.vars.outputs.sha}}
622 push_to_registries :
723 name : Publish assets to Release
824 runs-on : ubuntu-latest
25+ needs : build
926 steps :
1027 - name : Get the version
1128 id : vars
You can’t perform that action at this time.
0 commit comments