mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 15:46:43 +00:00
* Build with the previous Dockerfile This will recover the classic maticnetwork build in parallel. This will allow to test both images. Also fix the new build manifest. Build on patches too
29 lines
743 B
YAML
29 lines
743 B
YAML
name: Bor Docker Image CI
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- '**'
|
|
tags:
|
|
- 'v*.*.*'
|
|
# to be used by fork patch-releases ^^
|
|
- '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 -f Dockerfile.classic -t maticnetwork/bor:${GITHUB_REF/refs\/tags\//} .
|
|
echo "pushing image"
|
|
docker push maticnetwork/bor:${GITHUB_REF/refs\/tags\//}
|
|
echo "DONE!"
|