add "Publish to Docker Registry" step to github action

This commit is contained in:
Son NK 2020-01-19 14:37:59 +01:00
parent f358d9de19
commit 98e9d078b2
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Python package
name: Run tests
on: [push]
@ -29,3 +29,10 @@ jobs:
run: |
pip install black
black --check .
- name: Publish to Docker Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: simplelogin/app
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}