Skip to content

feat(grove): authorize MCP with scoped OAuth tokens (#357) #36

feat(grove): authorize MCP with scoped OAuth tokens (#357)

feat(grove): authorize MCP with scoped OAuth tokens (#357) #36

name: console-release
on:
push:
branches: [main]
paths:
- "apps/console/**"
- "packages/svelte-ws/**"
- "packages/console-bus-rpc/**"
- "packages/better-auth-effect-qb-adapter/**"
- "packages/types/**"
- "packages/tsconfig/**"
- "package.json"
- "pnpm-lock.yaml"
- "pnpm-workspace.yaml"
- "tsconfig.json"
- ".dockerignore"
- ".github/workflows/console-release.yml"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: read
jobs:
image:
name: build + push console image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c
- name: Log in to GHCR
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Derive image tags
id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302
with:
images: ghcr.io/${{ github.repository_owner }}/console
tags: |
type=raw,value=main,enable=${{ github.ref == 'refs/heads/main' }}
type=sha,format=long
- name: Build + push
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a
with:
context: .
file: apps/console/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha,scope=console
cache-to: type=gha,mode=max,scope=console
provenance: mode=max
sbom: true