Skip to content

Conversation

@jalowaini
Copy link
Owner

🎯 Purpose

This PR introduces a Continuous Delivery (CD) pipeline using GitHub Actions to automate deployment of the Java Spring Boot application to Amazon EKS after any push to the main branch.


βœ… What’s Included:

  • Configured AWS credentials using GitHub Secrets.
  • Built and pushed Docker image to Amazon ECR.
  • Deployed the image to EKS cluster using kubectl.
  • Uses .github/workflows/cd-deploy.yml as the pipeline definition.

πŸš€ Trigger:

The workflow is triggered automatically on every push to the main branch.


πŸ“¦ Files Added:

  • .github/workflows/cd-deploy.yml

πŸ§ͺ How to Test:

  1. Merge this PR into main.
  2. Check the Actions tab to monitor the deployment.
  3. Verify that the app is running on EKS via kubectl get pods or access the service via LoadBalancer (if applicable).

πŸ“Œ Notes:

  • Make sure your AWS secrets are configured in the repo:
    AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, ECR_REPO_URI, EKS_CLUSTER_NAME.

Let me know if any changes are needed!

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