Add docker deploy workflow

This commit is contained in:
schmelczerandras 2020-07-09 21:19:17 +02:00
parent a1069c1d21
commit 5f73c2ac82

21
.github/workflows/main.yaml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Deploy notebooks
on:
push:
branches:
- master
jobs:
docker-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch with lfs
uses: actions/checkout@master
with:
lfs: true
- name: Publish notebooks to docker hub
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: schmelczera/declared-frontend
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: frontend/Dockerfile
tags: "latest"