Spaces:
Sleeping
Sleeping
File size: 1,081 Bytes
72c7ee5 c1215a5 72c7ee5 ecc051b ff8cb24 560c3d6 b313251 ff8cb24 ecc051b b313251 ecc051b 72c7ee5 f7c8bb8 72c7ee5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
name: Publish Docker image
on:
workflow_dispatch
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Download Ukrainian model file
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: "robinhad/voice-recognition-ua"
version: "tags/v0.1"
file: "uk.tflite"
token: ${{ secrets.YOUR_TOKEN }}
- name: Download English model file
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: "mozilla/DeepSpeech"
version: "tags/v0.7.3"
file: "deepspeech-0.7.3-models.tflite"
token: ${{ secrets.YOUR_TOKEN }}
- name: Push to GitHub Packages
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: robinhad/voice-recognition-ua/voice-rec
tag_with_ref: true
|