Skip to content

fix bug with db not enough chars for components, imrpoved logging for… #13

fix bug with db not enough chars for components, imrpoved logging for…

fix bug with db not enough chars for components, imrpoved logging for… #13

name: Docker Build and Push
on:
push:
paths:
- 'backend/**'
jobs:
build-and-push-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push backend image
run: |
cd backend
docker build -t mixeway/flow-api:latest .
docker push mixeway/flow-api:latest