Androidonnxfork's picture
Upload folder using huggingface_hub
69c5ed3
raw
history blame
463 Bytes
name: Build Image
on: push
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Login to Registry
if: startsWith(github.ref, 'refs/tags')
run: docker login --username=${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_PASSWORD }}
- name: Push Image
if: startsWith(github.ref, 'refs/tags')
run: |
cd docker && bash build.sh ${{ secrets.HUGGINGFACE_TOKEN }}