Github actions config

This commit is contained in:
hboisgibault 2021-01-17 21:54:44 +01:00
parent 3bb0fb9b19
commit 8f16acd9c8

View file

@ -1,7 +1,7 @@
name: Publish Docker image name: Publish Docker image
on: on:
release: branches:
types: [published] - master
jobs: jobs:
push_to_registry: push_to_registry:
name: Push Docker image to Docker Hub name: Push Docker image to Docker Hub
@ -14,5 +14,5 @@ jobs:
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
repository: my-docker-hub-namespace/my-docker-hub-repository repository: lbry/block-explorer
tag_with_ref: true tag_with_ref: true