phase 16: React dashboard with full platform control and analytics
This commit is contained in:
@@ -88,3 +88,35 @@ jobs:
|
||||
SERVICE_CMD=${{ matrix.service.cmd }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
build-dashboard:
|
||||
needs: lint-and-test
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build and push dashboard
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: frontend
|
||||
file: frontend/Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.IMAGE_BASE }}/dashboard:${{ github.sha }}
|
||||
${{ env.IMAGE_BASE }}/dashboard:latest
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
Reference in New Issue
Block a user