mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
added github actions workflow for BOR docker push
This commit is contained in:
parent
9e2f108071
commit
8ee0480294
1 changed files with 25 additions and 0 deletions
25
.github/workflows/dockerimage.yml
vendored
Normal file
25
.github/workflows/dockerimage.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: Bor Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Bor 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\/tags\//} .
|
||||
echo "pushing image"
|
||||
docker push maticnetwork/bor:${GITHUB_REF/refs\/tags\//}
|
||||
echo "DONE!"
|
||||
Loading…
Reference in a new issue