From c2deac7d9fe74e25e3f96390944f3b2b0397a190 Mon Sep 17 00:00:00 2001 From: antejavor Date: Mon, 4 May 2026 13:40:59 +0200 Subject: [PATCH 1/2] Update dockerworkflow. --- .github/workflows/release-mcp-memgraph.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/release-mcp-memgraph.yaml b/.github/workflows/release-mcp-memgraph.yaml index 8f575ef8..4d37ca0a 100644 --- a/.github/workflows/release-mcp-memgraph.yaml +++ b/.github/workflows/release-mcp-memgraph.yaml @@ -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: @@ -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 }} @@ -38,11 +45,18 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - 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 }} From 6cb9fe86c40225cb7ac80a25693c89efc716be7e Mon Sep 17 00:00:00 2001 From: antejavor Date: Mon, 4 May 2026 13:45:23 +0200 Subject: [PATCH 2/2] Fix commit hash. --- .github/workflows/release-mcp-memgraph.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-mcp-memgraph.yaml b/.github/workflows/release-mcp-memgraph.yaml index 4d37ca0a..762d0b1c 100644 --- a/.github/workflows/release-mcp-memgraph.yaml +++ b/.github/workflows/release-mcp-memgraph.yaml @@ -46,10 +46,10 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0 - name: Build and push Docker image uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0