Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): add preview deployment workflow with Coolify #326

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

drichar
Copy link
Collaborator

@drichar drichar commented Nov 13, 2024

Description

This PR adds Docker and GitHub Actions configuration for UI preview deployments. Each PR that modifies UI code will automatically deploy a preview environment using Coolify.

Details

  • Add Dockerfile for building and serving the UI with nginx
  • Add GitHub Actions workflow for building and pushing Docker images
  • Configure nginx for client-side routing support
  • Use Docker Hub for storing preview deployment images
  • Tag preview images with PR number for easy tracking

Add Docker and GitHub Actions configuration for PR preview deployments:
- Create Dockerfile for building and serving the UI
- Add GitHub Actions workflow for building and deploying to Coolify
- Configure nginx for client-side routing
Replace GitHub Container Registry configuration with Docker Hub:
- Remove ghcr.io registry and image name env vars
- Update login action to use Docker Hub credentials
- Simplify image tag format for preview deployments
Copy `pnpm-workspace.yaml` to ensure monorepo dependencies are installed correctly during container build
Update image tag to match existing Docker Hub repository pattern:
- Use `algorandfoundation/reti` repository
- Add `ui-pr-` prefix for UI preview builds
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