Skip to content

fixes and release of 1.0.6 #58

fixes and release of 1.0.6

fixes and release of 1.0.6 #58

name: Docker Build and Push
on:
push:
paths:
- 'frontend/**'
jobs:
build-and-push-frontend:
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 frontend image
run: |
cd frontend
docker build -t mixeway/flow:latest .
docker build -t mixeway/flow:latest-beta .
docker push mixeway/flow:latest
docker push mixeway/flow:latest-beta