Skip to content

docs: add dashboard screenshots to docs/ folder #7

docs: add dashboard screenshots to docs/ folder

docs: add dashboard screenshots to docs/ folder #7

Workflow file for this run

name: Docker Build Validation
on:
push:
branches: [main]
jobs:
build-and-push:
name: Build & Validate Docker Images
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build API image
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile.api
push: false
tags: bcgx-api:${{ github.sha }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
- name: Build Dashboard image
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile.streamlit
push: false
tags: bcgx-dashboard:${{ github.sha }}
- name: Build MLflow image
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile.mlflow
push: false
tags: bcgx-mlflow:${{ github.sha }}
# Rotate cache to keep it from growing unboundedly
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache