Skip to content
Databases
Agent

build-and-or-publish-docker

Build the release Docker image locally and/or publish it to Docker Hub

BOOST
From plugin
ai-toolkit
1173 skills3 agents1 MCP
Install
> /plugin marketplace add memgraph/ai-toolkit
> /plugin install context-graph@context-graph-plugins

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Build the release Docker image locally and/or publish it to Docker Hub

Agent definition

build-and-or-publish-docker.md
description: Build the release Docker image locally and/or publish it to Docker Hub
user-invocable: true

Read the current version from `pyproject.toml` (the `version` field under `[project]`). Before building, check with the user if that version is correct — they may want to bump it first (e.g. the pinned version in `Dockerfile` was changed manually).

Build locally

Build the release image using the production `Dockerfile`:

docker build -f Dockerfile.local -t memgraph/structured2graph:<version> -t memgraph/structured2graph:latest .

This is sufficient when only the Docker setup changed (e.g. bumped the pinned PyPI version, changed system packages, or updated the base image) and you want to test locally before publishing.

Publish to Docker Hub

Build and push multi-platform (amd64 + arm64) with both the version tag and `latest`:

docker buildx build --platform linux/amd64,linux/arm64 -t memgraph/structured2graph:<version> -t memgraph/structured2graph:latest --push .

Replace `<version>` with the confirmed version.

Ships withai-toolkit

Build powerful AI applications with graph-powered RAG using Memgraph. This toolkit provides everything you need to integrate knowledge graphs into your GenAI workflows.

Get the whole plugin

Other agents on ai-toolkit.