Skip to content

Conversation

@kantord
Copy link
Member

@kantord kantord commented Nov 13, 2025

Tested by temporarily making the GH action run on the PR branch instead of on tags. The image was successfully published: https://github.com/stacklok/toolhive-cloud-ui/pkgs/container/toolhive-cloud-ui

To pull the image locally, you need to do this:

docker pull ghcr.io/stacklok/toolhive-cloud-ui:latest

if that does not work, you need to make sure that you are locally authenticated and that your token has permissions to read packages:

gh auth refresh -h github.com -s read:packages
gh auth token | docker login ghcr.io -u kantord --password-stdin

I tested it by running it like so:

docker run -d -p 3002:3000 --name toolhive-test ghcr.io/stacklok/toolhive-cloud-ui:latest

and it works fine!

screenshot-2025-11-13_14-07-02

@kantord kantord marked this pull request as ready for review November 13, 2025 13:18
Copilot AI review requested due to automatic review settings November 13, 2025 13:18
Copy link

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 introduces a GitHub Actions workflow to automate building and publishing Docker images to GitHub Container Registry (GHCR) when version tags are pushed.

  • Adds automated Docker image publishing triggered by version tags (v*)
  • Configures authentication to GHCR using GitHub's built-in token
  • Sets up dual tagging strategy with both latest and version-specific tags

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

@kantord kantord self-assigned this Nov 13, 2025
@kantord kantord requested a review from peppescg November 13, 2025 13:39
@kantord kantord merged commit 6b9fa9c into main Nov 13, 2025
15 checks passed
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.

3 participants