To enable the CI/CD pipeline, add these secrets to your GitHub repository:
- Go to: Settings → Secrets and variables → Actions
- Click "New repository secret"
- Add each secret below
DOCKER_USERNAME: your-docker-hub-username
DOCKER_PASSWORD: your-docker-hub-password (or access token)
SMTP_USER: your-gmail@gmail.com
SMTP_PASS: your-app-password (not regular password - use Gmail App Password)
AWS_ACCESS_KEY_ID: your-aws-key
AWS_SECRET_ACCESS_KEY: your-aws-secret
DEPLOY_KEY: your-private-key-for-deployment
- Go to https://hub.docker.com/settings/security
- Click "New Access Token"
- Name it "GitHub Actions"
- Copy the token and add as
DOCKER_PASSWORDsecret
- Enable 2FA on your Google Account
- Go to https://myaccount.google.com/apppasswords
- Select "Mail" and "Windows Computer"
- Google will generate a 16-character password
- Use this as
SMTP_PASSsecret
- Check pipeline status: Actions tab in your repository
- See build logs: Click on the workflow run
- Workflows trigger on:
- Push to: main, karthik, ladda, develop
- Pull requests to: main, karthik, ladda, develop