Skip to content

Instantly share code, notes, and snippets.

View SahilDhingraa's full-sized avatar

Sahil SahilDhingraa

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:
@SahilDhingraa
SahilDhingraa / github-signed-commit.md
Last active February 11, 2025 10:38
Github Signed Commit
  1. DOWNLAOD gpg4win from: https://www.gpg4win.org/download.html

  2. install it

  3. Add GnuPG's path to the environment variables: default path is: C:\Program Files (x86)\GnuPG\bin

  4. run gpg --version

  5. run gpg --full-generate-key