diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 22ba097..435e357 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,6 @@ jobs: release-type: node token: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v4 - if: ${{ steps.release.outputs.release_created }} - uses: actions/setup-node@v6 with: cache: 'npm' @@ -77,3 +76,14 @@ jobs: context: . push: true tags: octopusdeploy/mcp-server:latest,octopusdeploy/mcp-server:${{ steps.release.outputs.tag_name }} + # Docker Hub shows the repository overview, not image labels. Push the overview and short + # description on every push to main; the deprecation notice then appears without waiting for a + # release. The overview is a separate file because README.md exceeds Docker Hub's 25,000-byte limit. + - name: Update Docker Hub description + uses: peter-evans/dockerhub-description@v4 + with: + username: octopusdeploy + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: octopusdeploy/mcp-server + short-description: "DEPRECATED: use the Remote MCP Server in Octopus Server 2026.3 and later." + readme-filepath: ./docs/DOCKERHUB.md diff --git a/Dockerfile b/Dockerfile index 1072141..85ac74e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,13 @@ COPY package*.json ./ RUN npm ci --only=production && npm cache clean --force -FROM gcr.io/distroless/nodejs24-debian12 AS production +# The debian12 distroless image stopped receiving Node updates at 24.14.0; use debian13. +FROM gcr.io/distroless/nodejs24-debian13 AS production + +LABEL org.opencontainers.image.title="Octopus Deploy MCP Server (deprecated)" \ + org.opencontainers.image.description="Deprecated. Use the Remote MCP Server in Octopus Server 2026.3 and later: https://octopus.com/docs/octopus-ai/mcp/remote" \ + org.opencontainers.image.source="https://github.com/OctopusDeploy/mcp-server" \ + org.opencontainers.image.documentation="https://octopus.com/docs/octopus-ai/mcp/remote" WORKDIR /app diff --git a/docs/DOCKERHUB.md b/docs/DOCKERHUB.md new file mode 100644 index 0000000..bced739 --- /dev/null +++ b/docs/DOCKERHUB.md @@ -0,0 +1,15 @@ +# Octopus Deploy MCP Server (deprecated) + +> **Deprecated:** This MCP server is deprecated and no longer recommended for new installations. The Remote MCP Server is built into Octopus Server 2026.3 and later. See the [Remote MCP Server documentation](https://octopus.com/docs/octopus-ai/mcp/remote). + +The Octopus MCP Server gives your AI assistant tools to inspect, query, and diagnose problems in your Octopus Deploy instance. + +## Usage + +Supply credentials through environment variables. Credentials passed as command-line flags would be visible in the host process list. + +```bash +docker run -i --rm -e OCTOPUS_API_KEY=your-key -e OCTOPUS_SERVER_URL=https://your-octopus.com octopusdeploy/mcp-server +``` + +For full configuration, tools, and security guidance, see the [GitHub repository](https://github.com/OctopusDeploy/mcp-server).