Skip to content

Commit

Permalink
Merge pull request #250 from alwinsimon/V1-CI-CD
Browse files Browse the repository at this point in the history
Added CD config file for Auth Service.
  • Loading branch information
alwinsimon authored Oct 28, 2023
2 parents 52461a4 + 6562521 commit 520c6cb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/CD - Deploy - Auth Service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ========================================= CD - Deploy - Auth Service =========================================

name: CD - Deploy - Auth Service

on:
push:
branches:
- production
paths:
- "auth/**"

jobs:
Auth-Service-CD-Pipeline:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: cd auth && docker build -t alwinsimon/auth .
- run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- run: docker push alwinsimon/auth

0 comments on commit 520c6cb

Please sign in to comment.