go-ethereum/.github/workflows/dockerimage.yml
Victor Castell f80dc2bc0f
Build with the previous Dockerfile (#268)
* 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
2021-12-13 10:05:54 +01:00

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!"