Skip to content

Conversation

lmcdonough
Copy link
Contributor

@lmcdonough lmcdonough commented May 21, 2025

GitHub Issue: Closes 82

This pull request introduces significant updates to the GitHub Actions workflows for building, deploying, and managing the frontend application. The changes include splitting workflows into separate files for production and non-production builds, adding a new deployment workflow to DigitalOcean via Tailscale, and improving the organization and functionality of the CI/CD pipeline.

Workflow Updates

Separation of Build Workflows:

  • Renamed .github/workflows/build_and_push_image.yml to .github/workflows/build_and_push_nonproduction_images.yml and updated the workflow name to "Build and Push Non-Production Images." This workflow handles non-production builds.
  • Added a new workflow .github/workflows/build_and_push_production_images.yml for building and pushing production images. It includes steps for multi-architecture builds, image signing with Cosign, and attestation of build provenance.

Deployment Workflow:

  • Introduced a new workflow .github/workflows/deploy_to_do.yml to deploy the frontend application to a DigitalOcean droplet via Tailscale. This workflow includes steps for setting up Tailscale, verifying SSH connections, and deploying the frontend container with environment variables.

@lmcdonough lmcdonough added this to the 1.0-beta1 milestone May 21, 2025
@lmcdonough lmcdonough self-assigned this May 21, 2025
@lmcdonough lmcdonough added the feature work Specifically implementing a new feature label May 21, 2025
@lmcdonough lmcdonough requested a review from jhodapp May 21, 2025 00:42
@lmcdonough lmcdonough force-pushed the 82-feature-request-suggestion-create-fe-image-workflow branch from c75cd15 to fdcdc86 Compare May 21, 2025 00:45
@lmcdonough lmcdonough requested a review from calebbourg May 21, 2025 00:45
Copy link
Collaborator

@calebbourg calebbourg left a comment

Choose a reason for hiding this comment

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

Looks good @lmcdonough Thank you!

Approving pending the security issues that code scanning brought up

Copy link
Member

@jhodapp jhodapp left a comment

Choose a reason for hiding this comment

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

Thanks for this Levi. Several minor inline changes.

@lmcdonough lmcdonough requested a review from jhodapp May 21, 2025 23:35
@jhodapp jhodapp merged commit 1562e1f into main May 28, 2025
5 checks passed
@jhodapp jhodapp deleted the 82-feature-request-suggestion-create-fe-image-workflow branch May 28, 2025 23:11
@github-project-automation github-project-automation bot moved this from Review to ✅ Done in Refactor Coaching Platform May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature work Specifically implementing a new feature

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants