Skip to main content
Glama
publish-docker.yml2.63 kB
name: Publish Docker Image on: push: branches: - main jobs: build-and-push: name: Build and Push Docker Image runs-on: ubuntu-latest permissions: contents: read packages: write # Needed for GHCR steps: - name: Checkout code uses: actions/checkout@v3 - name: Set up QEMU uses: docker/setup-qemu-action@v2 with: platforms: 'arm64,amd64' - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 id: buildx with: install: true - name: Extract metadata (tags, labels) id: meta uses: docker/metadata-action@v4 with: images: | gitmotion/ntfy-me-mcp ghcr.io/${{ github.repository }} tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=raw,value=latest,enable={{is_default_branch}} - name: Set Package Version id: package_version run: | VERSION=$(node -p "require('./package.json').version") echo "VERSION=$VERSION" >> $GITHUB_ENV echo "version=$VERSION" >> $GITHUB_OUTPUT - name: Login to Docker Hub uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GH_TOKEN }} - name: Build and push Docker image uses: docker/build-push-action@v4 with: context: . push: true platforms: linux/amd64,linux/arm64 tags: | gitmotion/ntfy-me-mcp:latest gitmotion/ntfy-me-mcp:${{ env.VERSION }} ghcr.io/${{ github.repository }}:latest ghcr.io/${{ github.repository }}:${{ env.VERSION }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max build-args: | VERSION=${{ env.VERSION }} - name: Update Docker Hub Description uses: peter-evans/dockerhub-description@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} repository: gitmotion/ntfy-me-mcp short-description: "An MCP server for sending ntfy notifications to your self-hosted ntfy server 📤" readme-filepath: ./README.md

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/gitmotion/ntfy-me-mcp'

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