mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
new: push develop/master branch docker images (#80)
* new: push develop/master branch docker images * fix: typo !minor
This commit is contained in:
parent
12ec1419cb
commit
6e0f8a6142
1 changed files with 26 additions and 0 deletions
26
.github/workflows/dockerimage-latest.yml
vendored
Normal file
26
.github/workflows/dockerimage-latest.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
name: Docker Images For Latest Branches
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build docker image
|
||||
env:
|
||||
DOCKERHUB: ${{ secrets.DOCKERHUB }}
|
||||
DOCKERHUB_KEY: ${{ secrets.DOCKERHUB_KEY }}
|
||||
run: |
|
||||
ls -l
|
||||
echo "Docker login"
|
||||
docker login -u $DOCKERHUB -p $DOCKERHUB_KEY
|
||||
echo "Running build"
|
||||
docker build -t maticnetwork/bor:${GITHUB_REF/refs\/heads\//} .
|
||||
echo "Pushing image"
|
||||
docker push maticnetwork/bor:${GITHUB_REF/refs\/heads\//}
|
||||
echo "Done"
|
||||
Loading…
Reference in a new issue