Skip to content

Pin Docker image to exact npm version via build arg#353

Merged
kvz merged 1 commit intomainfrom
pin-docker-version
Mar 3, 2026
Merged

Pin Docker image to exact npm version via build arg#353
kvz merged 1 commit intomainfrom
pin-docker-version

Conversation

@kvz
Copy link
Copy Markdown
Member

@kvz kvz commented Mar 3, 2026

Summary

Addresses review feedback: the Dockerfile now accepts MCP_VERSION as a build arg instead of always installing @latest.

  • Dockerfile: ARG MCP_VERSION=latest + npm install -g @transloadit/mcp-server@${MCP_VERSION}
  • Workflow: passes build-args: MCP_VERSION=${{ steps.version.outputs.version }}

This ensures the Docker image tag always matches the installed npm package version, whether triggered by release or manual dispatch.

🤖 Generated with Claude Code

Addresses review feedback: the Dockerfile now accepts MCP_VERSION as a
build arg (default: latest). The workflow passes the extracted version,
ensuring the Docker image tag always matches the installed npm package.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kvz kvz merged commit cf6d849 into main Mar 3, 2026
10 checks passed
@kvz kvz deleted the pin-docker-version branch March 3, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant