2021-02-25 17:04:21 +01:00
|
|
|
name: Docker Image Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
tags:
|
|
|
|
- v*
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy-docker:
|
|
|
|
name: Build Release
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
|
|
|
uses: actions/checkout@master
|
|
|
|
- name: Install toolchain
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
2021-06-28 16:39:18 +02:00
|
|
|
toolchain: 1.52.1
|
2021-02-25 17:04:21 +01:00
|
|
|
profile: minimal
|
|
|
|
override: true
|
|
|
|
- name: Deploy to docker hub
|
|
|
|
uses: elgohr/Publish-Docker-Github-Action@master
|
|
|
|
with:
|
|
|
|
name: openethereum/openethereum
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
dockerfile: scripts/docker/alpine/Dockerfile
|
|
|
|
tag_names: true
|