Skip to content

build(deps): bump fastapi from 0.104.0 to 0.109.1 in /api (#322) #33

build(deps): bump fastapi from 0.104.0 to 0.109.1 in /api (#322)

build(deps): bump fastapi from 0.104.0 to 0.109.1 in /api (#322) #33

Workflow file for this run

name: push
on:
push:
branches: main
jobs:
dockerhub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
architecture: x64
- uses: abatilo/actions-poetry@v3
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 api/. -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