Skip to content

Commit

Permalink
Merge pull request #210 from blockchain-etl/feature/publish_to_docker…
Browse files Browse the repository at this point in the history
…hub_workflow

Add publish-to-dockerhub.yml
  • Loading branch information
medvedev1088 committed Apr 21, 2020
2 parents ac866f6 + 16dfcb2 commit c1e5691
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish-to-dockerhub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish DockerHub

on:
push:
tags:
- '*'

jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Publish to DockerHub
if: startsWith(github.event.ref, 'refs/tags/v')
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: blockchainetl/ethereum-etl
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest"
tag_semver: true

0 comments on commit c1e5691

Please sign in to comment.