chore(deps): Bump onnxruntime from 1.16.1 to 1.16.3 in /api (#307) #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: push | |
on: | |
push: | |
branches: main | |
jobs: | |
dockerhub: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
architecture: x64 | |
- uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: "1.6.1" | |
- name: Resolve dependencies | |
run: cd api && poetry export -f requirements.txt --without-hashes --output requirements.txt | |
- name: Build docker | |
run: cd api && docker build src/. -t frgfm/holocron:latest | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: frgfm | |
password: ${{ secrets.DOCKERHUB_PW }} | |
- name: Push to hub | |
run: docker push frgfm/holocron:latest |