Skip to main content
Glama
release.yml2.11 kB
name: Release on: workflow_dispatch: permissions: contents: read jobs: release: name: Release runs-on: ubuntu-latest permissions: contents: write packages: write actions: read env: _IMAGE_NAME: ghcr.io/withinfocus/tba-mcp-server steps: - name: Checkout uses: actions/checkout@v6 - name: Version id: version run: | version=$( jq -r ".version" package.json ) echo "version=$version" >> "$GITHUB_OUTPUT" - name: Run id: latest-build env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | latest_run=$(gh run list --workflow=build.yml --branch=main --status=success --limit=1 --json=databaseId --jq='.[0].databaseId') echo "run_id=$latest_run" >> "$GITHUB_OUTPUT" - name: Download uses: actions/download-artifact@v6 id: retrieve-package-version with: name: mcp-server-${{ steps.version.outputs.version }}.zip github-token: ${{ secrets.GITHUB_TOKEN }} repository: ${{ github.repository }} run-id: ${{ steps.latest-build.outputs.run_id }} - name: Create uses: ncipollo/release-action@v1 with: artifacts: "./mcp-server-${{ steps.version.outputs.version }}.zip" commit: ${{ github.sha }} tag: v${{ steps.version.outputs.version }} name: v${{ steps.version.outputs.version }} body: "<insert release notes here>" token: ${{ secrets.GITHUB_TOKEN }} draft: true - name: Login uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Docker run: | docker pull "${{ env._IMAGE_NAME }}:dev" docker tag "${{ env._IMAGE_NAME }}:dev" "${{ env._IMAGE_NAME }}:${{ steps.version.outputs.version }}" docker push "${{ env._IMAGE_NAME }}:${{ steps.version.outputs.version }}" - name: Logout run: docker logout ghcr.io

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/withinfocus/tba'

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