Skip to content

feat: reorder stats array to display 'Total Sessions' before 'Boards … #83

feat: reorder stats array to display 'Total Sessions' before 'Boards …

feat: reorder stats array to display 'Total Sessions' before 'Boards … #83

Workflow file for this run

name: Docker Image Publish
on:
push:
branches:
- main
paths:
- "app/**"
- "server/**"
- "Dockerfile"
- ".dockerignore"
- "docker-compose.yml"
- "vite.config.ts"
- "tsconfig.json"
- "package.json"
- "pnpm-lock.yaml"
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max-old-space-size=16384
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Cache pnpm store
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
run: |
REPO_NAME=$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')
docker build -t ghcr.io/${REPO_NAME}:latest .
- name: Push Docker image
run: |
REPO_NAME=$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')
docker push ghcr.io/${REPO_NAME}:latest