Skip to content

allow space to repo name #12

allow space to repo name

allow space to repo name #12

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