Skip to content

Instantly share code, notes, and snippets.

View yashraj22's full-sized avatar
🎯
Focusing

Yashraj Yadav yashraj22

🎯
Focusing
  • Unfluke.in
  • Bilaspur, Chhattisgarh
View GitHub Profile
@SahilDhingraa
SahilDhingraa / github-actions-docker-to-ec2.md
Last active November 8, 2024 18:30
This GitHub Actions workflow automates the process of building a Docker image and deploying it to an EC2 instance.

GitHub Actions CI/CD Workflow for Docker and EC2 Deployment

This GitHub Actions workflow automates the process of building a Docker image and deploying it to an EC2 instance. It consists of two main jobs: build-docker and run-on-ec2.

Workflow YAML

name: OneHealth CI/CD

on: