Skip to main content
Glama
release.yml1.96 kB
name: Release Docker Image on: push: tags: - 'v*.*.*' jobs: build-and-push: runs-on: ubuntu-latest permissions: contents: read packages: write steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v5 with: python-version: '3.14' - name: Install uv run: curl -Ls https://astral.sh/uv/install.sh | sh - name: Add uv to PATH run: echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Cache uv uses: actions/cache@v4 with: path: | ~/.cache/uv .venv key: release-uv-${{ runner.os }}-${{ hashFiles('pyproject.toml', 'uv.lock') }} restore-keys: | release-uv-${{ runner.os }}- - name: Sync dependencies (dev) run: uv sync --dev - name: Ruff Lint run: uv run ruff check --output-format=github - name: Ty Type Check run: uvx ty check - name: Log in to GHCR uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Extract metadata (tags, labels) id: meta uses: docker/metadata-action@v5 with: images: ghcr.io/${{ github.repository }} tags: | type=raw,value=latest type=ref,event=tag - name: Set up Buildx uses: docker/setup-buildx-action@v3 - name: Set up QEMU (multi-arch) uses: docker/setup-qemu-action@v3 - name: Build and push uses: docker/build-push-action@v6 with: context: . push: true platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dicklesworthstone/mcp_agent_mail'

If you have feedback or need assistance with the MCP directory API, please join our Discord server