Skip to content

Conversation

@Ansonhkg
Copy link
Collaborator

WHAT

Add workflow to publish docker images for Naga

Copilot AI review requested due to automatic review settings September 26, 2025 14:51
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

Adds a GitHub Actions workflow for building and publishing Docker images for Naga applications to GitHub Container Registry (GHCR). The workflow provides control over when images are published through a manual trigger with boolean input.

  • Introduces manual workflow dispatch with configurable release flag
  • Sets up Docker build environment with Node.js and PNPM dependencies
  • Implements matrix strategy to build multiple applications (lit-auth-server, lit-login-server)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

fi
echo "$tags_to_push" | while IFS= read -r tag; do
[ -z "$tag" ] && continue
docker tag "$IMAGE_NAME" "$tag"
Copy link

Copilot AI Sep 26, 2025

Choose a reason for hiding this comment

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

The docker tag command uses '$IMAGE_NAME' as the source image, but this assumes the image was built with that exact name. The Nx docker-build target might create an image with a different name. You should either use the actual built image name or ensure the Nx target creates an image with the expected name.

Copilot uses AI. Check for mistakes.
@Ansonhkg Ansonhkg merged commit 5e3f7bc into master Sep 26, 2025
2 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.

2 participants