Skip to main content
Glama
publish-image.yml1.35 kB
name: publish on: # Runs on pushes targeting the default branch push: tags: - 'v*.*.*' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: publish-docker-image: permissions: contents: read packages: write attestations: write id-token: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Convert Repository name to lower case id: lowercase run: echo "REPO=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV - name: Build the MCP Docker Image if: startsWith(github.ref, 'refs/tags/') run: | docker build . \ --tag ghcr.io/${{ env.REPO }}:${{ github.ref_name }} \ --label io.modelcontextprotocol.server.name="io.github.${{ env.REPO }}" - name: Run the container if: success() run: docker run ghcr.io/${{ env.REPO }}:${{ github.ref_name }} - name: Publish to GitHub Container Registry if: success() run: docker push ghcr.io/${{ env.REPO }}:${{ github.ref_name }}

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/nkapila6/mcp-local-rag'

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