Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/release-mcp-memgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Release mcp-memgraph

on:
workflow_dispatch:
inputs:
publish_pypi:
description: "Publish mcp-memgraph to PyPI before building the Docker image"
required: true
default: true
type: boolean

jobs:
release:
Expand All @@ -19,6 +25,7 @@ jobs:
run: python -m pip install uv

- name: Build and release mcp-memgraph
if: ${{ inputs.publish_pypi }}
working-directory: integrations/mcp-memgraph
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
Expand All @@ -38,11 +45,18 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0

- name: Build and push Docker image
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
with:
context: .
file: integrations/mcp-memgraph/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
memgraph/mcp-memgraph:${{ steps.version.outputs.version }}
Expand Down
Loading