Skip to content

Merge pull request #8 from catalystneuro/vite #12

Merge pull request #8 from catalystneuro/vite

Merge pull request #8 from catalystneuro/vite #12

name: Build Frontend Image and Push to GCR
on:
push:
branches:
- main
paths:
- "frontend/**"
jobs:
publish-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Docker image
run: |
docker build --tag ghcr.io/catalystneuro/si-sorting-frontend:latest -f ./frontend/Dockerfile ./frontend
docker push ghcr.io/catalystneuro/si-sorting-frontend:latest