Skip to content

Conversation

@bbartels
Copy link

Summary

  • Adds a GitHub Actions workflow to automatically build and publish Docker images to GitHub Container Registry when releases are published
  • Supports manual workflow dispatch for ad-hoc builds

Features

  • Multi-architecture builds (linux/amd64, linux/arm64)
  • Automatic semantic version tagging (e.g., release v1.2.3 creates tags: 1.2.3, 1.2, 1, latest)
  • GitHub Actions build caching for faster subsequent builds
  • Manual trigger option via workflow_dispatch
  • Zero configuration required - uses built-in GITHUB_TOKEN

Admin Setup Required

None! The workflow uses the built-in GITHUB_TOKEN and automatic packages: write permission.

After the first publish, the package will appear at:
ghcr.io/<org>/<repo> (e.g., ghcr.io/tableau/tableau-mcp)

Optional: Package Visibility

By default, packages inherit the repository's visibility. If needed, admins can adjust package settings at:
Settings → Packages → tableau-mcp → Package settings

Usage

Pull the image:

docker pull ghcr.io/<org>/tableau-mcp:latest

Test Plan

- Create a test release and verify image appears in the repo's Packages tab
- Verify multi-arch support: docker manifest inspect ghcr.io/<org>/tableau-mcp:latest
- Test manual workflow dispatch from Actions tab

🤖 Generated with https://claude.com/claude-code

Copilot AI review requested due to automatic review settings January 14, 2026 13:07
@salesforce-cla
Copy link

Thanks for the contribution! Before we can merge this, we need @bbartels to sign the Salesforce Inc. Contributor License Agreement.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds GitHub Actions workflow automation to build and publish Docker images to GitHub Container Registry (GHCR) when releases are published. The workflow supports multi-architecture builds (linux/amd64, linux/arm64), automatic semantic versioning, and manual workflow dispatch.

Changes:

  • Adds docker-publish.yml workflow for publishing to GHCR
  • Adds publish-docker.yml workflow (appears to contain both Docker Hub and GHCR configurations with terminal artifacts)

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

File Description
.github/workflows/docker-publish.yml Clean GHCR workflow with proper authentication and multi-arch support
.github/workflows/publish-docker.yml Contains mixed Docker Hub/GHCR configuration with terminal output artifacts (lines 58-117)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@anyoung-tableau
Copy link
Collaborator

Hey @bbartels, thanks again for submitting this PR.

Would it be alright with you if one of us internally resubmitted this PR with these changes? That would make it so you wouldn't need to mess with signing the CLA and we can iterate quickly if any follow-up changes are necessary without needing to bug you. :)

@bbartels
Copy link
Author

I dont mind at all! Feel free

@anyoung-tableau
Copy link
Collaborator

Awesome, thanks. One last question: have these changes already been tested or used in a different repo in any way that I could reference?

@bbartels
Copy link
Author

Awesome, thanks. One last question: have these changes already been tested or used in a different repo in any way that I could reference?

Just ran it on my fork: https://github.com/bbartels/tableau-mcp/actions/workflows/docker-publish.yml

should just work as is

@bbartels
Copy link
Author

https://github.com/bbartels/tableau-mcp/pkgs/container/tableau-mcp

It published the container here once i created a new release

@anyoung-tableau
Copy link
Collaborator

That's awesome! Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants