Skip to content

feat: Add changes to use version 0.100.0 of FastAPI #23

feat: Add changes to use version 0.100.0 of FastAPI

feat: Add changes to use version 0.100.0 of FastAPI #23

name: Docker Image CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker login
run: docker login -u ${{secrets.DOCKER_USER}} -p ${{secrets.DOCKER_PASSWORD}}
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ${{secrets.DOCKER_USER}}/fastapi_mongodb_template
- name: Push the Docker image
run: docker push ${{secrets.DOCKER_USER}}/fastapi_mongodb_template