Skip to content

fixed searching in dashboard #130

fixed searching in dashboard

fixed searching in dashboard #130

name: Docker Build and Push
on:
push:
branches:
- main
jobs:
build-and-push-frontend:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push multi-platform image
uses: docker/build-push-action@v6
with:
context: ./frontend
push: true
platforms: linux/amd64,linux/arm64
tags: |
mixeway/flow:latest
mixeway/flow:latest-beta
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push multi-platform image to GHCR
uses: docker/build-push-action@v6
with:
context: ./frontend
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/mixeway/flow:latest
ghcr.io/mixeway/flow:latest-beta
cache-from: type=gha
cache-to: type=gha,mode=max