Yurii Paniv commited on
Commit
72c7ee5
1 Parent(s): 858952b

Add Github Action

Browse files
.dockerignore CHANGED
@@ -4,4 +4,5 @@ __pycache__/
4
  .git
5
  LICENSE
6
  README.md
7
- *.tflite
 
 
4
  .git
5
  LICENSE
6
  README.md
7
+ *.tflite
8
+ .github/
.github/workflows/publish-docker.yml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Publish Docker image
2
+ on:
3
+ release:
4
+ types: [published]
5
+ jobs:
6
+ push_to_registry:
7
+ name: Push Docker image to GitHub Packages
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Check out the repo
11
+ uses: actions/checkout@v2
12
+ - name: Push to GitHub Packages
13
+ uses: docker/build-push-action@v1
14
+ with:
15
+ username: ${{ github.actor }}
16
+ password: ${{ secrets.GITHUB_TOKEN }}
17
+ registry: docker.pkg.github.com
18
+ repository: robinhad/voice-rec
19
+ tag_with_ref: true
20
+