block-explorer/.workflows/dockerhub.yml

19 lines
491 B
YAML
Raw Normal View History

2021-01-17 21:50:21 +01:00
name: Publish Docker image
on:
2021-01-17 21:54:44 +01:00
branches:
- master
2021-01-17 21:50:21 +01:00
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
2021-01-17 21:54:44 +01:00
repository: lbry/block-explorer
2021-01-17 21:50:21 +01:00
tag_with_ref: true